Use __asm__ rather than asm in gold testsuite
[deliverable/binutils-gdb.git] / gas / testsuite / config / default.exp
CommitLineData
b3adc24a 1# Copyright (C) 2012-2020 Free Software Foundation, Inc.
5bf135a7
NC
2
3# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation; either version 3 of the License, or
6# (at your option) any later version.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with this program; if not, write to the Free Software
15# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
16
252b5132
RH
17load_lib gas-defs.exp
18
252b5132
RH
19if ![info exists AS] then {
20 set AS [findfile $base_dir/../as-new "../as-new" [transform as]]
21}
22
252b5132
RH
23if ![info exists ASFLAGS] then {
24 set ASFLAGS ""
25}
26
33ea299c
TP
27if ![info exists LD] then {
28 set LD [findfile $base_dir/../../ld/ld-new $base_dir/../../ld/ld-new [transform ld]]
29}
30if ![info exists LDFLAGS] then {
31 set LDFLAGS ""
32}
33set ld_elf_shared_opt "-z norelro"
34
252b5132
RH
35if ![info exists OBJDUMP] then {
36 set OBJDUMP [findfile $base_dir/../../binutils/objdump \
37 $base_dir/../../binutils/objdump \
38 [transform objdump]]
39}
40
41if ![info exists OBJDUMPFLAGS] then {
42 set OBJDUMPFLAGS {}
43}
44
45if ![info exists NM] then {
46 set NM [findfile $base_dir/../../binutils/nm-new \
47 $base_dir/../../binutils/nm-new \
48 [transform nm]]
49}
50
51if ![info exists NMFLAGS] then {
52 set NMFLAGS {}
53}
54
55if ![info exists OBJCOPY] then {
56 set OBJCOPY [findfile $base_dir/../../binutils/objcopy]
57}
58
59if ![info exists OBJCOPYFLAGS] then {
60 set OBJCOPYFLAGS {}
61}
62
4b0d96c2
HPN
63if ![info exists READELF] then {
64 set READELF [findfile $base_dir/../../binutils/readelf]
65}
66
67if ![info exists READELFFLAGS] then {
68 set READELFFLAGS {}
69}
70
368886ac
L
71if ![info exists ADDR2LINE] then {
72 set ADDR2LINE [findfile $base_dir/../../binutils/addr2line]
73}
74
75if ![info exists ADDR2LINEFLAGS] then {
76 set ADDR2LINEFLAGS {}
77}
78
8ffb70eb
AM
79if ![file isdirectory tmpdir] {catch "exec mkdir tmpdir" status}
80
252b5132 81gas_init
This page took 1.401949 seconds and 4 git commands to generate.