This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: mips plts & vxworks
- From: Thiemo Seufer <ths at networkno dot de>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: binutils <binutils at sources dot redhat dot com>
- Date: Mon, 14 Apr 2008 21:01:25 +0100
- Subject: Re: mips plts & vxworks
- References: <47FA19E3.6030006@codesourcery.com>
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