aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sh
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-05-05 10:29:16 +0000
committerNick Clifton <nickc@redhat.com>2005-05-05 10:29:16 +0000
commitee58dd1ec5cfc8a91c5100c3f90bd81d4e1e10e4 (patch)
tree376f4b5149cc2462b152022caecb8b1d489099e9 /ld/testsuite/ld-sh
parent022716b6cc050f0de66bd40b015cdc0b085a0217 (diff)
downloadgdb-ee58dd1ec5cfc8a91c5100c3f90bd81d4e1e10e4.zip
gdb-ee58dd1ec5cfc8a91c5100c3f90bd81d4e1e10e4.tar.gz
gdb-ee58dd1ec5cfc8a91c5100c3f90bd81d4e1e10e4.tar.bz2
Replace linux-gnu with linux-* to allow for versions of Linux which do not use
glibc.
Diffstat (limited to 'ld/testsuite/ld-sh')
-rw-r--r--ld/testsuite/ld-sh/sh.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/testsuite/ld-sh/sh.exp b/ld/testsuite/ld-sh/sh.exp
index 9929e3a..5d3d5d4 100644
--- a/ld/testsuite/ld-sh/sh.exp
+++ b/ld/testsuite/ld-sh/sh.exp
@@ -14,7 +14,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
#
# Written by Ian Lance Taylor (ian@cygnus.com)
#
@@ -62,7 +62,7 @@ if ![ld_assemble $as "-relax $srcdir/$subdir/sh1.s" tmpdir/sh1.o] {
set testsrec "SH relaxing to S-records"
-if [istarget sh*-linux-gnu] {
+if [istarget sh*-linux-*] {
# This target needs the explicit entry address.
catch "exec $objdump -x tmpdir/sh1 | grep start\\ address | sed s/start\\ address//" entry_addr
set srec_relax_arg "-Ttext $entry_addr -relax --oformat srec tmpdir/sh1.o"
@@ -117,7 +117,7 @@ if { [which $CC] == 0 } {
return
}
-if [istarget sh*-linux-gnu] {
+if [istarget sh*-linux-*] {
exec sed -e s/_main/main/ -e s/_trap/trap/ -e s/_stack/stack/ \
< $srcdir/$subdir/start.s >tmpdir/start.s
} else {