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]

[PATCH] Add/update VxWorks targets for bfd


The new targets recently added to GCC also require corresponding changes in
binutils.  This is the patch and changelog for the bfd directory.  (I do not
have write access.)


2003-10-23 Phil Edwards <phil@codesourcery.com>


	* config.bfd (arm-*-vxworks):  Remove separate stanza; merge with
	other common ELF triples.
	(i[3-7]86-*-vxworks):  Change to ELF format.
	(mips*-*-windiss):  New triple, add to common MIPS/ELF stanza.
	(sh-*-vxworks):  New stanza.


Index: config.bfd
===================================================================
RCS file: /home/pme/Repositories/srctree/src/bfd/config.bfd,v
retrieving revision 1.147
diff -u -p -c -r1.147 config.bfd
cvs diff: conflicting specifications of output style
*** config.bfd 6 Oct 2003 11:01:35 -0000 1.147
--- config.bfd 15 Oct 2003 20:57:27 -0000
*************** case "${targ}" in
*** 199,210 ****
targ_defvec=aout_arm_big_vec
targ_selvecs=aout_arm_little_vec
;;
- arm-*-vxworks*)
- targ_defvec=armcoff_little_vec
- targ_selvecs=armcoff_big_vec
- targ_underscore=yes
- targ_cflags=-DARM_COFF_BUGFIX
- ;;
arm-*-coff)
targ_defvec=armcoff_little_vec
targ_selvecs=armcoff_big_vec
--- 199,204 ----
*************** case "${targ}" in
*** 222,228 ****
targ_defvec=bfd_elf32_littlearm_vec
targ_selvecs=bfd_elf32_bigarm_vec
;;
! arm-*-elf | arm-*-freebsd* | arm*-*-linux-gnu* | arm*-*-conix* | arm*-*-uclinux* | arm-*-kfreebsd*-gnu)
targ_defvec=bfd_elf32_littlearm_vec
targ_selvecs=bfd_elf32_bigarm_vec
;;
--- 216,222 ----
targ_defvec=bfd_elf32_littlearm_vec
targ_selvecs=bfd_elf32_bigarm_vec
;;
! arm-*-elf | arm-*-freebsd* | arm*-*-linux-gnu* | arm*-*-conix* | arm*-*-uclinux* | arm-*-kfreebsd*-gnu | arm-*-vxworks)
targ_defvec=bfd_elf32_littlearm_vec
targ_selvecs=bfd_elf32_bigarm_vec
;;
*************** case "${targ}" in
*** 554,561 ****
i[3-7]86-*-aout* | i[3-7]86*-*-vsta*)
targ_defvec=i386aout_vec
;;
! i[3-7]86-*-vxworks*)
! targ_defvec=i386aout_vec
targ_underscore=yes
;;
i[3-7]86-*-chaos)
--- 548,559 ----
i[3-7]86-*-aout* | i[3-7]86*-*-vsta*)
targ_defvec=i386aout_vec
;;
! i[3-7]86-*-vxworks)
! targ_defvec=bfd_elf32_i386_vec
targ_underscore=yes
;;
i[3-7]86-*-chaos)
*************** case "${targ}" in
*** 797,803 ****
targ_defvec=bfd_elf32_littlemips_vec
targ_selvecs="bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
;;
! mips*-*-elf* | mips*-*-rtems* | mips*-*-vxworks*)
targ_defvec=bfd_elf32_bigmips_vec
targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
;;
--- 795,801 ----
targ_defvec=bfd_elf32_littlemips_vec
targ_selvecs="bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
;;
! mips*-*-elf* | mips*-*-rtems* | mips*-*-vxworks | mips*-*-windiss)
targ_defvec=bfd_elf32_bigmips_vec
targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
;;
*************** case "${targ}" in
*** 1084,1089 ****
--- 1082,1095 ----
targ_selvecs="shlpe_vec shlpei_vec"
targ_underscore=yes
;;
+ sh-*-vxworks)
+ targ_defvec=bfd_elf32_sh_vec
+ targ_selvecs="bfd_elf32_shl_vec"
+ # FIXME None of the following are actually used on this target, but
+ # they're necessary for coff-sh.c (which is unconditionally used) to be
+ # compiled correctly.
+ targ_selvecs="$targ_selvecs shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec"
+ ;;
sh-*-* | sh-*-rtems*)
targ_defvec=shcoff_vec
targ_selvecs="shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec"



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