mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 21:39:10 -04:00
minor update
This commit is contained in:
parent
0c746d93bb
commit
f369006956
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ def get_vma_size(elf_file):
|
|||
process = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
output, errors = process.communicate()
|
||||
if process.returncode != 0:
|
||||
print "Error running readelf:", errors.strip()
|
||||
print("Error running readelf: {}".format(errors.strip()))
|
||||
sys.exit(-1)
|
||||
|
||||
min_vma = 2**64 - 1
|
||||
|
@ -48,7 +48,7 @@ def get_vma_size(elf_file):
|
|||
return total_vma_span # Return the calculated size
|
||||
|
||||
except Exception as e:
|
||||
print "Failed to calculate vma size due to an error:", str(e)
|
||||
print("Failed to calculate vma size due to an error: {}".format(str(e)))
|
||||
sys.exit(-1)
|
||||
|
||||
def create_vxbin_binary(input_elf, output_bin, objcopy_path):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue