PATCH: Add support for new ARM targets
Mark Mitchell
mark@codesourcery.com
Thu Aug 19 06:06:00 GMT 2004
This trivial patch adds preliminary support for arm*-*-symbianelf* and
arm*-*-eabi*. (Corresponding support has already gone into GCC.)
OK?
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
2004-08-18 Mark Mitchell <mark@codesourcery.com>
* config.bfd (arm*-*-symbianelf*): New target.
(arm*-*-eabi*): Likewise.
2004-08-18 Mark Mitchell <mark@codesourcery.com>
* configure.in (arm*-*-symbianelf*): New target.
(arm*-*-eabi*): Likewise.
* configure: Regenerated.
2004-08-18 Mark Mitchell <mark@codesourcery.com>
* configure.tgt (arm*-*-symbianelf*): New target.
(arm*-*-eabi*): Likewise.
Index: bfd/config.bfd
===================================================================
RCS file: /cvs/src/src/bfd/config.bfd,v
retrieving revision 1.166
diff -c -5 -p -r1.166 config.bfd
*** bfd/config.bfd 7 Jul 2004 17:28:45 -0000 1.166
--- bfd/config.bfd 19 Aug 2004 05:49:32 -0000
*************** case "${targ}" in
*** 223,233 ****
arm-*-kaos* | strongarm-*-kaos*)
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
;;
arm9e-*-elf)
targ_defvec=bfd_elf32_littlearm_vec
--- 223,234 ----
arm-*-kaos* | strongarm-*-kaos*)
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 | \
! arm*-*-symbianelf* | arm*-*-eabi* )
targ_defvec=bfd_elf32_littlearm_vec
targ_selvecs=bfd_elf32_bigarm_vec
;;
arm9e-*-elf)
targ_defvec=bfd_elf32_littlearm_vec
Index: gas/configure.in
===================================================================
RCS file: /cvs/src/src/gas/configure.in,v
retrieving revision 1.156
diff -c -5 -p -r1.156 configure.in
*** gas/configure.in 7 Jul 2004 17:28:50 -0000 1.156
--- gas/configure.in 19 Aug 2004 05:49:32 -0000
*************** changequote([,])dnl
*** 204,213 ****
--- 204,215 ----
arm-*-aout) fmt=aout ;;
arm-*-coff | thumb-*-coff) fmt=coff ;;
arm-*-rtems* | thumb-*-rtems*) fmt=elf ;;
arm-*-elf | thumb-*-elf) fmt=elf ;;
+ arm*-*-symbianelf* | arm*-*-eabi*)
+ fmt=elf ;;
arm-*-kaos*) fmt=elf ;;
arm*-*-conix*) fmt=elf ;;
arm-*-linux*aout*) fmt=aout em=linux ;;
arm*-*-linux-gnu*) fmt=elf em=linux ;;
arm*-*-uclinux*) fmt=elf em=linux ;;
Index: ld/configure.tgt
===================================================================
RCS file: /cvs/src/src/ld/configure.tgt,v
retrieving revision 1.151
diff -c -5 -p -r1.151 configure.tgt
*** ld/configure.tgt 7 Jul 2004 17:28:51 -0000 1.151
--- ld/configure.tgt 19 Aug 2004 05:49:32 -0000
*************** arm-*-netbsd*) targ_emul=armnbsd;
*** 253,263 ****
targ_extra_emuls="armelf armelf_nbsd armelfb_nbsd" ;;
arm-*-nto*) targ_emul=armnto ;;
arm-*-openbsd*) targ_emul=armnbsd ;;
arm-*-rtems*) targ_emul=armelf ;;
armeb-*-elf) targ_emul=armelfb ;;
! arm-*-elf | arm-*-vxworks)
targ_emul=armelf ;;
arm-*-kaos*) targ_emul=armelf ;;
arm9e-*-elf) targ_emul=armelf ;;
arm-*-oabi) targ_emul=armelf_oabi ;;
arm*b-*-linux-gnu*) targ_emul=armelfb_linux; targ_extra_emuls=armelfb ;;
--- 253,263 ----
targ_extra_emuls="armelf armelf_nbsd armelfb_nbsd" ;;
arm-*-nto*) targ_emul=armnto ;;
arm-*-openbsd*) targ_emul=armnbsd ;;
arm-*-rtems*) targ_emul=armelf ;;
armeb-*-elf) targ_emul=armelfb ;;
! arm-*-elf | arm-*-vxworks | arm*-*-symbianelf* | arm*-*-eabi*)
targ_emul=armelf ;;
arm-*-kaos*) targ_emul=armelf ;;
arm9e-*-elf) targ_emul=armelf ;;
arm-*-oabi) targ_emul=armelf_oabi ;;
arm*b-*-linux-gnu*) targ_emul=armelfb_linux; targ_extra_emuls=armelfb ;;
More information about the Binutils
mailing list