Age | Commit message (Collapse) | Author |
|
|
|
To a single rap file, obj->oofset is 0 and rlen is actually right.
But to rap file in ra file, rlen should be added obj->oofset to
correctly load the contents of rap file.
Signed-off-by: Peng Fan <van.freenix@gmail.com>
|
|
Signed-off-by: Peng Fan <van.freenix@gmail.com>
|
|
This patch contains the file details part and linkmap support. In order to
save space, the linkmap part and file details part are merged into one
implementation. Both use the same pointer, obj->detail.
Signed-off-by: Peng Fan <van.freenix@gmail.com>
|
|
If the bit 31 of info is 0, it means this is a reloc based on section.
In rtl-rap.c this line 'symvalue = (Elf_Word) symsect->base + addend'
show that if the bit 31 of info is 0, addend will be added to symvalue.
Then if the reloc type is rela and the reloc entry is based on section,
the addend should be assigned 0, otherwise error will be incured in the
reloc resolving function.
|
|
Add a format signature so loaded files can be managed by format type.
Move the find file code to a common routine to allow reuse.
|
|
|
|
The string handling of symbols was wrong. This has been fixed.
Add some more trace output to help debugging.
|
|
|
|
|
|
|
|
|
|
|
|
This is the initial addition of support for LZ77 RTEMS applications
in the RAP format.
The change add support for different formats to the loader. Each
format type is asked to check the file being loading and if
it matches the format's loader is called to load the file.
Support has been added to stream LZ77 files via the object file
cache.
|