Commit graph

9 commits

Author SHA1 Message Date
Amaury Pouly
f4a1501d4a sbtools: fix sbtoelf to handle files with more than one hundred commands
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30810 a1c6a512-1295-4272-9138-f99709370657
2011-10-20 10:14:50 +00:00
Amaury Pouly
9d7df9ae4d sbtools: move the db parse to its own file and improve error messages
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30557 a1c6a512-1295-4272-9138-f99709370657
2011-09-15 16:10:31 +00:00
Amaury Pouly
64b4672359 sbtools: implement virtual to physical address translation for elf files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30556 a1c6a512-1295-4272-9138-f99709370657
2011-09-15 14:36:58 +00:00
Amaury Pouly
a29ef617f3 sbtools: be more verbose on debug and fix a bug (uninitialized structure)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29867 a1c6a512-1295-4272-9138-f99709370657
2011-05-13 12:13:02 +00:00
Amaury Pouly
8fa0e13c9f sbtools: generate a unique name for each section
This allows to manipulate the elf file more easily with objcopy for example. Executable sections are named .text0, .text1, ..., bss sections are named .bss0, .bss1, ...

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29817 a1c6a512-1295-4272-9138-f99709370657
2011-05-02 22:52:52 +00:00
Amaury Pouly
8da7237fd9 sbtools: do not rely on the ELF flags and always assume the entry point is valid
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29806 a1c6a512-1295-4272-9138-f99709370657
2011-05-01 12:44:57 +00:00
Amaury Pouly
79c6aca566 sbtools: fortify code against weird elf files with no string table and/or no sections/programs headers !
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29747 a1c6a512-1295-4272-9138-f99709370657
2011-04-18 20:27:23 +00:00
Amaury Pouly
c4cb4cca47 sbtools: move internal elf definition to elf.c, implement elf reading
sbtoelf: generate a correct section name for undef and string table sections
elftosb: static'ify functions, add cmd file to sb file conversion

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29738 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 15:49:58 +00:00
Amaury Pouly
f6208bde46 Rename sbinfo to sbtools and sbinfo.c to sbtoelf.c; preparing for future elftosb
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29733 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 01:43:44 +00:00
Renamed from utils/sbinfo/elf.c (Browse further)