This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fixing plt generation on powerpc-vxworks


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]