From: Jakub Jelinek Date: Fri, 17 Aug 2007 22:00:11 +0000 (+0000) Subject: * config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7e976ae46d73ba3b38c95fba78385837295b0440;p=binutils-gdb.git * 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. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e41f4247c4f..73206a1f112 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 fb20ccee903..c533f573889 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 da1d50af1f3..1f89ed2d59d 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 be343eb7e48..be0307cb0ce 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 b504105cfb0..59223f0dfe2 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 f3070fce585..4f47c7a3080 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 95727ccb012..7b3c84ca069 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 0322a0b306b..0d1beac8a15 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 4443a944c9d..af4918c686a 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 a113bdcc6e0..7c53027a265 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 423b90c5015..45c77e783a4 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