This is the mail archive of the binutils@sourceware.cygnus.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]

Re: Including rel* sections in an ELF64 executable


   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

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