This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Add/update VxWorks targets for ld
- From: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- To: binutils at sources dot redhat dot com
- Date: Fri, 24 Oct 2003 00:54:34 +0200
- Subject: Re: [PATCH] Add/update VxWorks targets for ld
- References: <3F9858B1.7050602@codesourcery.com>
Phil Edwards wrote:
[snip]
> *************** mips*-*-elf*) targ_emul=elf32ebmip ;;
> *** 421,427 ****
> mips*el-*-rtems*) targ_emul=elf32elmip ;;
> mips*-*-rtems*) targ_emul=elf32ebmip ;;
> mips*el-*-vxworks*) targ_emul=elf32elmip ;;
> ! mips*-*-vxworks*) targ_emul=elf32ebmip ;;
> mips64*el-*-linux-gnu*) targ_emul=elf32ltsmipn32
> targ_extra_emuls="elf32btsmipn32 elf32ltsmip
> elf32btsmip elf64ltsmip elf64btsmip"
> ;;
> --- 420,428 ----
> mips*el-*-rtems*) targ_emul=elf32elmip ;;
> mips*-*-rtems*) targ_emul=elf32ebmip ;;
> mips*el-*-vxworks*) targ_emul=elf32elmip ;;
It's probably a good idea to add
targ_extra_emuls="elf32ebmip"
here.
> ! mips*-*-vxworks*) targ_emul=elf32ebmip
> ! targ_extra_emuls="elf32elmip" ;;
> ! mips*-*-windiss) targ_emul=elf32mipswindiss ;;
Is there no little endian version needed?
> mips64*el-*-linux-gnu*) targ_emul=elf32ltsmipn32
> targ_extra_emuls="elf32btsmipn32 elf32ltsmip
> elf32btsmip elf64ltsmip elf64btsmip"
> ;;
[snip]
> + # The Diab tools use a different init/fini convention. Initialization
> code
> + # is place in sections named ".init$NN". These sections are then
> concatenated
> + # into the .init section. It is important that .init$00 be first and
> .init$99
> + # be last. The other sections should be sorted, but the current linker
> script
Your mailer broke the patch.
Thiemo