summaryrefslogtreecommitdiff
path: root/rtl-rap.c (follow)
AgeCommit message (Collapse)Author
2013-09-05Fix warningsPeng Fan
2013-09-05load rap file from ra filePeng Fan
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>
2013-09-05Add rpath supportPeng Fan
Signed-off-by: Peng Fan <van.freenix@gmail.com>
2013-09-05file details and debug supportPeng Fan
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>
2013-06-04Fix rela addendPeng Fan
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.
2013-01-12Add format signatures. Add find files.Chris Johns
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.
2012-12-31Create the RTL error before freeing the buffer.Chris Johns
2012-12-18Fix string handling of symbols.Chris Johns
The string handling of symbols was wrong. This has been fixed. Add some more trace output to help debugging.
2012-12-15The symbol is the section base and addend. Add some more debugging.Chris Johns
2012-12-12Relocation is almost working for RAP files.Chris Johns
2012-12-01Add symbol loading support for RAP files.Chris Johns
2012-12-01Fix the RAP format to match the linker.Chris Johns
2012-11-30Add a section handler to load sections.Chris Johns
2012-11-29RAP file support.Chris Johns
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.