This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Fixing plt generation on powerpc-vxworks
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sourceware dot org, richard at codesourcery dot com
- Date: Thu, 2 Mar 2006 10:10:07 +1030
- Subject: Re: Fixing plt generation on powerpc-vxworks
- References: <87psl62if8.fsf@talisman.home>
On Wed, Mar 01, 2006 at 05:17:47PM +0000, Richard Sandiford wrote:
> The main souce of bitrot is that VxWorks has its own PLT layout, so the
> choice between the "old" and "new" standard layouts is not meaningful.
Apologies for this. I'm obviously the source of the bitrot..
> If I've understood correctly, "old_plt" means "must use the old layout"
> and "new_plt" means "try to use the new layout".
Yep.
> plt_type = PLT_UNSET | PLT_OLD | PLT_NEW | PLT_VXWORKS
> can_use_new_plt
Good.
> Tested on powerpc-vxworks, powerpc64-linux-gnu and i686-pc-linux-gnu
> (--enable-targets=all --enable-64-bit-bfd). OK to install?
Yes, the patch looks fine to me. I assume you meant powerpc-linux
above, not powerpc64-linux, as the latter doesn't use elf32-ppc.c.
Your other vxworks cleanup and i386 vxworks testsuite changes are OK
too.
--
Alan Modra
IBM OzLabs - Linux Technology Centre