X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-m68k%2Fm68k.exp;h=214c640f6e9d0f74c8eb90e3c1bd97295f33f897;hb=cf869cce6215e2b8cc0daeccf06ace32d3798bd6;hp=042f1b997f63183c8248f95990c1fcfd585281c7;hpb=cc3e26bed74f5e492b5d042afe2c2616975de445;p=binutils-gdb.git diff --git a/ld/testsuite/ld-m68k/m68k.exp b/ld/testsuite/ld-m68k/m68k.exp index 042f1b997f6..214c640f6e9 100644 --- a/ld/testsuite/ld-m68k/m68k.exp +++ b/ld/testsuite/ld-m68k/m68k.exp @@ -1,19 +1,22 @@ # Expect script for run_dump_test based ld-m68k tests. -# Copyright 2006 Free Software Foundation, Inc. +# Copyright 2006, 2007, 2008 Free Software Foundation, Inc. # -# This file is free software; you can redistribute it and/or modify +# This file is part of the GNU Binutils. +# +# This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # 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., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, +# MA 02110-1301, USA. # # Test m68k object merging @@ -32,7 +35,7 @@ if { ![is_elf_format] || ![istarget m68k-*-*] } { set m68k_mergeok_tests { {"merge isa-a isa-a:nodiv" "-T merge.ld" "" - {isaa.s isaa-nodiv.s} {{objdump -p isaa.d}} "isaa"} + {isaa.s isaa-nodiv.s} {{objdump -p isaa.d}} "isaa-nodiv"} {"merge isa-a isa-b" "-T merge.ld" "" {isaa.s isab.s} {{objdump -p isab.d}} "isab"} {"merge isa-a isa-aplus" "-T merge.ld" "" @@ -53,12 +56,22 @@ run_dump_test "merge-error-1d" run_dump_test "merge-error-1e" run_dump_test "merge-ok-1a" run_dump_test "merge-ok-1b" +run_dump_test "merge-ok-1c" foreach { id sources } { a { plt1.s } b { plt1-empty.s plt1.s } } { - foreach arch { 68020 cpu32 isab } { + foreach arch { 68020 cpu32 isab isac } { run_ld_link_tests [list \ [list "PLT 1$id ($arch)" "-shared -T plt1.ld" "-m$arch" \ $sources [list [list objdump -dr plt1-$arch.d]] \ plt1-${id}-${arch}.so]] } } + +if { [istarget m68k-*-linux*] } then { + run_dump_test "tls-gd-1" + run_dump_test "tls-gd-2" + run_dump_test "tls-gd-ie-1" + run_dump_test "tls-ie-1" + run_dump_test "tls-ld-1" + run_dump_test "tls-ld-2" +}