From 7e976ae46d73ba3b38c95fba78385837295b0440 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 17 Aug 2007 22:00:11 +0000 Subject: [PATCH] * 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/ChangeLog | 5 +++++ bfd/config.bfd | 4 ++-- ld/ChangeLog | 5 +++++ ld/configure.host | 4 ++-- ld/testsuite/ChangeLog | 9 +++++++++ ld/testsuite/ld-sparc/tlssunnopic32.dd | 2 +- ld/testsuite/ld-sparc/tlssunnopic32.rd | 2 +- ld/testsuite/ld-sparc/tlssunnopic32.sd | 2 +- ld/testsuite/ld-sparc/tlssunnopic64.dd | 2 +- ld/testsuite/ld-sparc/tlssunnopic64.rd | 2 +- ld/testsuite/ld-sparc/tlssunnopic64.sd | 2 +- 11 files changed, 29 insertions(+), 10 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e41f424..73206a1 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2007-08-17 Jakub Jelinek + + * config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*. + Change sparc64-*-linux-* to sparc64*-*-linux-*. + 2007-08-17 Alan Modra * po/Make-in: Add --msgid-bugs-address to xgettext invocation. diff --git a/bfd/config.bfd b/bfd/config.bfd index fb20cce..c533f57 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -1325,7 +1325,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" ;; @@ -1374,7 +1374,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 diff --git a/ld/ChangeLog b/ld/ChangeLog index da1d50a..1f89ed2 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2007-08-17 Jakub Jelinek + + * configure.host: Handle sparcv*-*-linux-* the same as + sparc-*-linux-*. Change sparc64-*-linux-* to sparc64*-*-linux-*. + 2007-08-17 Alan Modra * emultempl/alphaelf.em: Format option help. diff --git a/ld/configure.host b/ld/configure.host index be343eb..be0307c 100644 --- a/ld/configure.host +++ b/ld/configure.host @@ -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,"` ;; diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index b504105..59223f0 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2007-08-17 Jakub Jelinek + + * 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. + 2007-08-17 Richard Sandiford * lib/ld-lib.exp (run_dump_test): Allow [big_or_little_endian] diff --git a/ld/testsuite/ld-sparc/tlssunnopic32.dd b/ld/testsuite/ld-sparc/tlssunnopic32.dd index f3070fc..4f47c7a 100644 --- a/ld/testsuite/ld-sparc/tlssunnopic32.dd +++ b/ld/testsuite/ld-sparc/tlssunnopic32.dd @@ -3,7 +3,7 @@ #as: --32 #ld: -shared -melf32_sparc #objdump: -drj.text -#target: isparc-*-* +#target: sparc*-*-* .*: +file format elf32-sparc diff --git a/ld/testsuite/ld-sparc/tlssunnopic32.rd b/ld/testsuite/ld-sparc/tlssunnopic32.rd index 95727cc..7b3c84c 100644 --- a/ld/testsuite/ld-sparc/tlssunnopic32.rd +++ b/ld/testsuite/ld-sparc/tlssunnopic32.rd @@ -3,7 +3,7 @@ #as: --32 #ld: -shared -melf32_sparc #readelf: -WSsrl -#target: sparc-*-* +#target: sparc*-*-* .* diff --git a/ld/testsuite/ld-sparc/tlssunnopic32.sd b/ld/testsuite/ld-sparc/tlssunnopic32.sd index 0322a0b..0d1beac 100644 --- a/ld/testsuite/ld-sparc/tlssunnopic32.sd +++ b/ld/testsuite/ld-sparc/tlssunnopic32.sd @@ -3,7 +3,7 @@ #as: --32 #ld: -shared -melf32_sparc #objdump: -sj.got -#target: sparc-*-* +#target: sparc*-*-* .*: file format elf32-sparc diff --git a/ld/testsuite/ld-sparc/tlssunnopic64.dd b/ld/testsuite/ld-sparc/tlssunnopic64.dd index 4443a94..af4918c 100644 --- a/ld/testsuite/ld-sparc/tlssunnopic64.dd +++ b/ld/testsuite/ld-sparc/tlssunnopic64.dd @@ -3,7 +3,7 @@ #as: --64 -Av9 #ld: -shared -melf64_sparc #objdump: -drj.text -#target: isparc-*-* +#target: sparc*-*-* .*: +file format elf64-sparc diff --git a/ld/testsuite/ld-sparc/tlssunnopic64.rd b/ld/testsuite/ld-sparc/tlssunnopic64.rd index a113bdc..7c53027 100644 --- a/ld/testsuite/ld-sparc/tlssunnopic64.rd +++ b/ld/testsuite/ld-sparc/tlssunnopic64.rd @@ -3,7 +3,7 @@ #as: --64 -Av9 #ld: -shared -melf64_sparc #readelf: -WSsrl -#target: sparc-*-* +#target: sparc*-*-* .* diff --git a/ld/testsuite/ld-sparc/tlssunnopic64.sd b/ld/testsuite/ld-sparc/tlssunnopic64.sd index 423b90c..45c77e7 100644 --- a/ld/testsuite/ld-sparc/tlssunnopic64.sd +++ b/ld/testsuite/ld-sparc/tlssunnopic64.sd @@ -3,7 +3,7 @@ #as: --64 -Av9 #ld: -shared -melf64_sparc #objdump: -sj.got -#target: sparc-*-* +#target: sparc*-*-* .*: file format elf64-sparc -- 2.7.4