OSDN Git Service

Update FSF addresses
[pf3gnuchains/pf3gnuchains4x.git] / ld / testsuite / ld-xstormy16 / xstormy16.exp
1 # Expect script for ld-xstormy16 tests
2 #   Copyright (C) 2003 Free Software Foundation
3 #
4 # This file is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
17 #
18
19 # Test xstormy16 linking of pc-relative relocs.  This tests the assembler and
20 # tools like objdump as well as the linker.
21
22 if {!([istarget "xstormy16*-*-*"]) } {
23     return
24 }
25
26 # Set up a list as described in ld-lib.exp
27
28 set xstormy16_tests {
29     {   "xstormy16 pc-relative relocs linker test"
30         ""
31         ""
32         { "pcrel.s" "external.s" }
33         { {objdump -Dz pcrel.d} }
34         "pcrel"
35     }
36 }
37
38 run_ld_link_tests $xstormy16_tests