summaryrefslogtreecommitdiff
path: root/utils/sbtools/elf.c (follow)
Commit message (Collapse)AuthorAge
* sbtools: rename to imxtools, move imx_hid_recovery to imxtools/sbloader, fix ↵Amaury Pouly2011-11-06
| | | | | | tools to correctly handle/free memory, properly return error codes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30907 a1c6a512-1295-4272-9138-f99709370657
* sbtools: move sb reading from sbtoelf.c to sb.c with a proper interface, fix ↵Amaury Pouly2011-11-01
| | | | | | sb production bug, fix ugly code, add sb dump code and sbtoelf loopback facility git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30881 a1c6a512-1295-4272-9138-f99709370657
* sbtools: fix handling of raw mode, have elf_write looks like elf_read, fix ↵Amaury Pouly2011-10-29
| | | | | | uninitiliazed offset of bss sections, add real key override on decrypt git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30858 a1c6a512-1295-4272-9138-f99709370657
* sbtools: fix sbtoelf to handle files with more than one hundred commandsAmaury Pouly2011-10-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30810 a1c6a512-1295-4272-9138-f99709370657
* sbtools: move the db parse to its own file and improve error messagesAmaury Pouly2011-09-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30557 a1c6a512-1295-4272-9138-f99709370657
* sbtools: implement virtual to physical address translation for elf filesAmaury Pouly2011-09-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30556 a1c6a512-1295-4272-9138-f99709370657
* sbtools: be more verbose on debug and fix a bug (uninitialized structure)Amaury Pouly2011-05-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29867 a1c6a512-1295-4272-9138-f99709370657
* sbtools: generate a unique name for each sectionAmaury Pouly2011-05-02
| | | | | | 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
* sbtools: do not rely on the ELF flags and always assume the entry point is validAmaury Pouly2011-05-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29806 a1c6a512-1295-4272-9138-f99709370657
* sbtools: fortify code against weird elf files with no string table and/or no ↵Amaury Pouly2011-04-18
| | | | | | sections/programs headers ! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29747 a1c6a512-1295-4272-9138-f99709370657
* sbtools: move internal elf definition to elf.c, implement elf readingAmaury Pouly2011-04-17
| | | | | | | 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
* Rename sbinfo to sbtools and sbinfo.c to sbtoelf.c; preparing for future elftosbAmaury Pouly2011-04-17
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29733 a1c6a512-1295-4272-9138-f99709370657