Changes since April

Clean up of build directories.
Simplifications to capability model.
This commit is contained in:
Bahadir Balban
2010-06-01 15:08:13 +03:00
parent aef14b55ec
commit 6fa4884a5a
450 changed files with 10449 additions and 7383 deletions

View File

@@ -21,3 +21,7 @@ def elf_binary_size(img):
paddr_end = x.p_paddr + x.p_memsz
return paddr_end - paddr_start
# Return load address of elf file
def get_elf_load_address(img):
elffile = elf.ElfFile.from_file(img)
return elffile.header.ai.e_entry