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
Richard Henderson <rth@redhat.com> writes:
|> On Fri, Jan 10, 2003 at 01:29:50AM +0100, Andreas Schwab wrote:
|> > The debugger will know which bytes to relocate by looking at the
|> > structure while reading the debug information from a shared library.
|>
|> And how will they do that?
By just adding the load offset.
|> The only match between source symbol and assembler symbol is the
|> relocation.
There are no symbols involved.
|> > No other target emits such relocations.
|>
|> Alpha does.
Perhaps unnecessarily so. Executables don't have relocation either, why
should dynamic objects be different?
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."