[vxworks, ppc] shared objects and copy relocs

Nathan Sidwell nathan@codesourcery.com
Tue Jul 10 10:40:00 GMT 2007


I've installed this patch to fix a problem with vxworks rtp shared objects and 
weak symbols.  The problem here was that the executable was resolving a symbol 
to a shared object, and thought it could eliminate a copy reloc because the only 
references were in the small data section.   Unfortunately that doesn't work on 
vxworks.

This patch matches code in elf32-i386, which has exactly the same problem.

tested on powerpc-wrs-vxworks.

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: all.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20070710/5e34a690/attachment.ksh>


More information about the Binutils mailing list