This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Including rel* sections in an ELF64 executable
- To: sby at ives dot lkg dot dec dot com
- Subject: Re: Including rel* sections in an ELF64 executable
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 26 Jan 2000 18:03:38 -0500
- CC: binutils at sourceware dot cygnus dot com
- References: <200001262255.RAA31829@ives.lkg.dec.com>
From: Bharadwaj Yadavalli <sby@ives.lkg.dec.com>
Date: Wed, 26 Jan 2000 17:55:19 -0500 (EST)
Does the linker use output rules other than those specified
in the linker script? It was pointed out to me that the
linker scripts simply direct the placement of the output
sections. But what is it that triggers the discarding
of local relocation information, in say a .o file, when
executing /usr/lib/ldscripts/elf64alpha.x and retention of
the same when executing /usr/lib/ldscripts/elf64alpha.xr?
The linker uses the .xr linker script when the -r option is used. The
-r option is what controls whether to retain relocation information.
Ian