[PATCH] Add/update VxWorks targets for ld

Thiemo Seufer ica2_ts@csv.ica.uni-stuttgart.de
Thu Oct 23 22:54:00 GMT 2003
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



More information about the Binutils mailing list