[SeaBIOS] parseObjDump fails when a relocation record points to a section

Kevin O'Connor kevin at koconnor.net
Sun Dec 19 23:53:44 CET 2010


On Sun, Dec 19, 2010 at 07:25:42PM +0100, Olivier Galibert wrote:
> Current git fails to compile for me with:
[...]
> The interesting parts of the associated objdump are:
> 
> Sections:
> Idx Name          Size      VMA       LMA       File off  Algn
> [...]
> 110 .rodata.__func__.2140 0000000a  00000000  00000000  000304fc  2**2
>                   CONTENTS, ALLOC, LOAD, READONLY, DATA
> [...]
> SYMBOL TABLE:
> [...]
> 00000000 l     O .rodata.__func__.2140  0000000a __func__.2140
> [...]
> 00000000 l    d  .rodata.__func__.2140  00000000 
> [...]
> RELOCATION RECORDS FOR [.debug_info]:
> OFFSET   TYPE              VALUE 
> [...]
> 0001419f R_386_32          .rodata.__func__.2140

That's odd.  It shouldn't even have tried to parse the debug
sections.  Can you email me a tar file of the build after running
"make clean; make"?

-Kevin



More information about the SeaBIOS mailing list