This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Relocs against unalloced sections in shared libraries


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]