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,

Can these link-time optimizations be applied to targets other than x86 types ?
If so, are we going to need similar patches to other linker script templates,
such as:

  armpbabi.sc
  elf32sh-symbian.sc
  elf64hppa.sc
  elfxtensa.sc
  mep.sc

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).

Ok - I'll take care of this.


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 ...

Well that was the whole point of the elf.sc script, but some ports have chosen to go their own way...


Cheers
  Nick



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