]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-x86-64/pe-x86-64.exp
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-x86-64 / pe-x86-64.exp
CommitLineData
36068e2f 1# Expect script for ELF tests with pe-x86-64 inputs.
250d07de 2# Copyright (C) 2020-2021 Free Software Foundation, Inc.
36068e2f
L
3#
4# This file is part of the GNU Binutils.
5#
6# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 3 of the License, or
9# (at your option) any later version.
10#
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with this program; if not, write to the Free Software
18# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
19# MA 02110-1301, USA.
20#
21
22# Only for Linux/x86-64.
23if {![istarget "x86_64-*-linux*"] } {
24 return
25}
26
27run_ld_link_tests [list \
28 [list \
29 "Build pe-x86-64-1" \
30 "-m elf_x86_64 --entry=begin" \
31 "" \
32 "" \
33 {pe-x86-64-1a.obj.bz2 pe-x86-64-1b.obj.bz2 pe-x86-64-1c.obj.bz2} \
34 {{objdump {-dw --sym} pe-x86-64-1.od}} \
35 "pe-x86-64-1" \
36 ] \
37 [list \
38 "Build pe-x86-64-2" \
39 "-m elf_x86_64 --entry=begin" \
40 "" \
41 "" \
42 {pe-x86-64-2a.obj.bz2 pe-x86-64-2b.obj.bz2 pe-x86-64-2c.obj.bz2} \
43 {{objdump {-dw --sym} pe-x86-64-2.od}} \
44 "pe-x86-64-2" \
45 ] \
46 [list \
47 "Build pe-x86-64-3" \
48 "-m elf_x86_64 --entry=begin" \
49 "" \
50 "" \
51 {pe-x86-64-3a.obj.bz2 pe-x86-64-3b.obj.bz2 pe-x86-64-3c.obj.bz2 \
52 pe-x86-64-3d.obj.bz2 } \
53 {{objdump {-dw --sym} pe-x86-64-3.od}} \
54 "pe-x86-64-3" \
55 ] \
56 [list \
57 "Build pe-x86-64-4" \
58 "-m elf_x86_64 --entry=begin" \
59 "" \
60 "" \
61 {pe-x86-64-4a.obj.bz2 pe-x86-64-4b.obj.bz2 pe-x86-64-4c.obj.bz2 \
62 pe-x86-64-4d.obj.bz2 } \
63 {{objdump {-dw --sym} pe-x86-64-4.od}} \
64 "pe-x86-64-4" \
65 ] \
66]