This is the mail archive of the binutils@sourceware.org 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] sparcv9-*-linux*, sparc64v-*-linux* etc. support


Hi!

Allows binutils to be configured for various common sparc*-*-linux* targets.
Committed to trunk.

2007-08-17  Jakub Jelinek  <jakub@redhat.com>

	* config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*.
	Change sparc64-*-linux-* to sparc64*-*-linux-*.

	* configure.host: Handle sparcv*-*-linux-* the same as
	sparc-*-linux-*.  Change sparc64-*-linux-* to sparc64*-*-linux-*.

	* ld-sparc/tlssunnopic32.dd: Fix up #target.
	* ld-sparc/tlssunnopic32.rd: Likewise.
	* ld-sparc/tlssunnopic32.sd: Likewise.
	* ld-sparc/tlssunnopic64.dd: Likewise.
	* ld-sparc/tlssunnopic64.rd: Likewise.
	* ld-sparc/tlssunnopic64.sd: Likewise.

--- bfd/config.bfd.jj	2007-07-31 10:12:44.000000000 +0200
+++ bfd/config.bfd	2007-08-16 14:10:05.000000000 +0200
@@ -1324,7 +1324,7 @@ case "${targ}" in
     targ_selvecs="bfd_elf32_sparc_vec sunos_big_vec"
     targ_underscore=yes
     ;;
-  sparc-*-linux-*)
+  sparc-*-linux-* | sparcv*-*-linux-*)
     targ_defvec=bfd_elf32_sparc_vec
     targ_selvecs="sparclinux_vec bfd_elf64_sparc_vec sunos_big_vec"
     ;;
@@ -1373,7 +1373,7 @@ case "${targ}" in
     targ_underscore=yes
     want64=true
     ;;
-  sparc64-*-linux-*)
+  sparc64*-*-linux-*)
     targ_defvec=bfd_elf64_sparc_vec
     targ_selvecs="bfd_elf32_sparc_vec sparclinux_vec sunos_big_vec"
     want64=true
--- ld/configure.host.jj	2007-01-09 13:45:49.000000000 +0100
+++ ld/configure.host	2007-08-16 14:13:58.000000000 +0200
@@ -221,11 +221,11 @@ sparc64-*-solaris2* | sparcv9-*-solaris2
   HOSTING_LIBS="$HOSTING_LIBS"' `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} -print-file-name=crtend.o; fi` `if [ -f ../gcc/crtn.o ]; then echo ../gcc/crtn.o; else ${CC} -print-file-name=crtn.o; fi`'
   ;;
 
-sparc-*-linux-*)
+sparc-*-linux-* | sparcv*-*-linux-*)
   HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,\\\`specs.*\"\\\`,/lib/ld-linux.so.2,"`
   ;;
 
-sparc64-*-linux-*)
+sparc64*-*-linux-*)
   HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,\\\`specs.*\"\\\`,/lib64/ld-linux.so.2,"`
   ;;
 
--- ld/testsuite/ld-sparc/tlssunnopic32.dd.jj	2003-01-25 00:44:45.000000000 +0100
+++ ld/testsuite/ld-sparc/tlssunnopic32.dd	2007-08-16 14:15:47.000000000 +0200
@@ -3,7 +3,7 @@
 #as: --32
 #ld: -shared -melf32_sparc
 #objdump: -drj.text
-#target: isparc-*-*
+#target: sparc*-*-*
 
 .*: +file format elf32-sparc
 
--- ld/testsuite/ld-sparc/tlssunnopic64.rd.jj	2006-06-02 02:32:00.000000000 +0200
+++ ld/testsuite/ld-sparc/tlssunnopic64.rd	2007-08-16 14:16:53.000000000 +0200
@@ -3,7 +3,7 @@
 #as: --64 -Av9
 #ld: -shared -melf64_sparc
 #readelf: -WSsrl
-#target: sparc-*-*
+#target: sparc*-*-*
 
 .*
 
--- ld/testsuite/ld-sparc/tlssunnopic64.sd.jj	2005-04-14 00:29:36.000000000 +0200
+++ ld/testsuite/ld-sparc/tlssunnopic64.sd	2007-08-16 14:16:56.000000000 +0200
@@ -3,7 +3,7 @@
 #as: --64 -Av9
 #ld: -shared -melf64_sparc
 #objdump: -sj.got
-#target: sparc-*-*
+#target: sparc*-*-*
 
 .*:     file format elf64-sparc
 
--- ld/testsuite/ld-sparc/tlssunnopic64.dd.jj	2005-04-14 00:29:36.000000000 +0200
+++ ld/testsuite/ld-sparc/tlssunnopic64.dd	2007-08-16 14:16:05.000000000 +0200
@@ -3,7 +3,7 @@
 #as: --64 -Av9
 #ld: -shared -melf64_sparc
 #objdump: -drj.text
-#target: isparc-*-*
+#target: sparc*-*-*
 
 .*: +file format elf64-sparc
 
--- ld/testsuite/ld-sparc/tlssunnopic32.sd.jj	2003-01-25 00:44:45.000000000 +0100
+++ ld/testsuite/ld-sparc/tlssunnopic32.sd	2007-08-16 14:16:50.000000000 +0200
@@ -3,7 +3,7 @@
 #as: --32
 #ld: -shared -melf32_sparc
 #objdump: -sj.got
-#target: sparc-*-*
+#target: sparc*-*-*
 
 .*:     file format elf32-sparc
 
--- ld/testsuite/ld-sparc/tlssunnopic32.rd.jj	2006-06-02 02:32:00.000000000 +0200
+++ ld/testsuite/ld-sparc/tlssunnopic32.rd	2007-08-16 14:16:46.000000000 +0200
@@ -3,7 +3,7 @@
 #as: --32
 #ld: -shared -melf32_sparc
 #readelf: -WSsrl
-#target: sparc-*-*
+#target: sparc*-*-*
 
 .*
 

	Jakub


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