This is the mail archive of the binutils@sourceware.org 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: [PATCH] Drop sections with .gnu.lto_ prefix on ELF targets when relocating


Hi Richard,

It likely can be applied to all elf targets.  So yes, we probably need
to patch all templates that also discard *(.note.GNU-stack) and
*(.gnu_debuglink).  As I can't test them I didn't patch them - to me
it looks like pieces of that scripts should be moved to a common
sub-template ...

I have applied the obvious patch to the following files.


Cheers
  Nick

ld/ChangeLog
2009-08-24  Nick Clifton  <nickc@redhat.com>

	* scripttempl/elfxtensa.sc (DISCARDED): Discard sections with
	.gnu.lto_ prefix.
	* scripttempl/armbpabi.sc: Likewise.
	* scripttempl/elf32sh-symbian.sc: Likewise.
	* scripttempl/elf64hppa.sc: Likewise.
	* scripttempl/mep.sc: Likewise.


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