[SeaBIOS] parseObjDump fails when a relocation record points to a section
Olivier Galibert
galibert at pobox.com
Mon Dec 20 20:28:54 CET 2010
On Sun, Dec 19, 2010 at 05:53:44PM -0500, Kevin O'Connor wrote:
> 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"?
I checked further, it's not crashing on the debug section but on a
following one:
RELOCATION RECORDS FOR [.text.handle_02]:
OFFSET TYPE VALUE
00000002 R_386_32 .rodata.__func__.2140
OG.
More information about the SeaBIOS
mailing list