This is the mail archive of the binutils@sources.redhat.com 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: [PATCH] Add/update VxWorks targets for ld


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


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