[patch] Parse DW_AT_ranges into PSYMTABS (for childless CU, for vDSO32)

Daniel Jacobowitz drow@false.org
Tue Oct 9 19:13:00 GMT 2007


On Tue, Oct 09, 2007 at 08:54:34PM +0200, Jan Kratochvil wrote:
> > I bet you don't need a custom linker script and -nostdlib to test
> > this.  Gas must be generating the DW_AT_ranges itself regardless of
> > whether there's a gap.
> 
> Which one, .space, .org +x? These all fill the space with flesh bytes.

No, you just need the two sections.  Does that work with the default
linker script and without -nostdlib?  Just call the entry point main
instead of _start.

At that point it doesn't need to be i386 specific, either (see any of
the other tests in the same directory).

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list