PATCH: PR ld/10337: strip breaks statically linked binaries with .rela.plt section

H.J. Lu hjl.tools@gmail.com
Thu Jul 2 02:45:00 GMT 2009


On Wed, Jul 1, 2009 at 6:13 PM, Alan Modra<amodra@bigpond.net.au> wrote:
> On Wed, Jul 01, 2009 at 05:45:06AM -0700, H.J. Lu wrote:
>> All reloc sections pointing to the dynamic symbol table
>> are treated as normal sections. Before STT_GNU_IFUNC
>> changes, we never had executables with reloc section
>> which didn't point to the dynamic symbol table.
>
> HJ, you focus too narrowly on Linux.  We certainly do have such
> targets.  VxWorks is one.
>

How did objcopy work on such executables before? If there is
a testcase to show that it is broken now, we can add a special
check for it. There are many special vxworks treatments in
linker.


-- 
H.J.



More information about the Binutils mailing list