This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
RTEMS config.bfd patch
- To: binutils at sources dot redhat dot com
- Subject: RTEMS config.bfd patch
- From: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- Date: Fri, 01 Dec 2000 09:24:03 -0600
- Organization: OAR Corporation
- Reply-To: joel dot sherrill at OARcorp dot com
Simple patch attached.
2000-12-01 Joel Sherrill <joel@OARcorp.com>
* config.bfd (arm-*-rtems*, a29k-*rtems*): New targets.
* config.bfd (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New
targets.
* config.bfd (sparc*-*-rtems*): Switched from a.out to ELF.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
Index: bfd/config.bfd
===================================================================
RCS file: /cvs/src/src/bfd/config.bfd,v
retrieving revision 1.44
diff -u -r1.44 config.bfd
--- config.bfd 2000/11/07 00:43:25 1.44
+++ config.bfd 2000/12/01 13:20:05
@@ -141,6 +141,10 @@
targ_defvec=bfd_elf32_bigarm_vec
targ_selvecs=bfd_elf32_littlearm_vec
;;
+ arm-*-rtems*)
+ targ_defvec=bfd_elf32_littlearm_vec
+ targ_selvecs=bfd_elf32_bigarm_vec
+ ;;
arm-*-elf | arm*-*-linux-gnu* | arm*-*-conix* | arm*-*-uclinux*)
targ_defvec=bfd_elf32_littlearm_vec
targ_selvecs=bfd_elf32_bigarm_vec
@@ -184,7 +188,7 @@
;;
a29k-*-ebmon* | a29k-*-udi* | a29k-*-coff* | a29k-*-sym1* | \
- a29k-*-vxworks* | a29k-*-sysv*)
+ a29k-*-vxworks* | a29k-*-sysv* | a29k-*rtems*)
targ_defvec=a29kcoff_big_vec
targ_selvecs=sunos_big_vec
targ_underscore=yes
@@ -789,8 +793,17 @@
#endif /* BFD64 */
sparc*-*-coff*)
targ_defvec=sparccoff_vec
+ ;;
+ sparc*-*-rtemsaout*)
+ targ_defvec=sunos_big_vec
+ targ_selvecs="bfd_elf32_sparc_vec sparccoff_vec"
+ targ_underscore=yes
+ ;;
+ sparc*-*-rtems* | sparc*-*-rtemself*)
+ targ_defvec=bfd_elf32_sparc_vec
+ targ_selvecs="sunos_big_vec sparccoff_vec"
;;
- sparc*-*-* | sparc*-*-rtems*)
+ sparc*-*-*)
targ_defvec=sunos_big_vec
targ_underscore=yes
;;