This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Relocs against unalloced sections in shared libraries
- From: Andreas Schwab <schwab at suse dot de>
- To: Geoff Keating <geoffk at geoffk dot org>
- Cc: binutils at sources dot redhat dot com
- Date: 10 Jan 2003 01:29:50 +0100
- Subject: Re: Relocs against unalloced sections in shared libraries
- References: <m3adi9hpcy.fsf@whitebox.local> <jm4r8hg8tb.fsf@desire.geoffk.org>
Geoff Keating <geoffk@geoffk.org> writes:
> Isn't this necessary for proper handling of DWARF2 debug information?
The debugger will know which bytes to relocate by looking at the
structure while reading the debug information from a shared library.
No other target emits such relocations. Currently, the ppc linker
will set DT_TEXTREL if there are any DWARF2 debugging sections in a
shared library, which is just wrong.
Andreas.