mips plts & vxworks

Thiemo Seufer ths@networkno.de
Mon Apr 14 20:01:00 GMT 2008


Nathan Sidwell wrote:
> This patch fixes a bug with vxworks PLT generation.  Vxworks' dynamic 
> loader expects undefined symbols to have zero value, not the PLT slot 
> address.  (I.e. expects MIPS to be like other architectures in this 
> regard.)
>
> ok?
>
> nathan
> -- 
> Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
>

> 2008-04-07  Nathan Sidwell  <nathan@codesourcery.com>
> 
> 	bfd/
> 	* elfxx-mips.c (_bfd_mips_vxworks_adjust_dynamic_symbol): Don't
> 	set the value of undefined symbols in shared objects.
> 
> 	ld/testsuite/
> 	* ld-vxworks/plt-mips1.s: New.
> 	* ld-vxworks/plt-mips1.d: New.

Ok, I suppose. (Not that I would have in-depth knowledge of the vxworks
dynamic linker.)


Thiemo



More information about the Binutils mailing list