x86: replace adhoc ambiguous operand checking for CRC32
[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
19global AS
20if ![info exists AS] then {
21 set AS [findfile $base_dir/../as-new "../as-new" [transform as]]
22}
23
252b5132
RH
24global ASFLAGS
25if ![info exists ASFLAGS] then {
26 set ASFLAGS ""
27}
28
33ea299c
TP
29if ![info exists LD] then {
30 set LD [findfile $base_dir/../../ld/ld-new $base_dir/../../ld/ld-new [transform ld]]
31}
32if ![info exists LDFLAGS] then {
33 set LDFLAGS ""
34}
35set ld_elf_shared_opt "-z norelro"
36
252b5132
RH
37if ![info exists OBJDUMP] then {
38 set OBJDUMP [findfile $base_dir/../../binutils/objdump \
39 $base_dir/../../binutils/objdump \
40 [transform objdump]]
41}
42
43if ![info exists OBJDUMPFLAGS] then {
44 set OBJDUMPFLAGS {}
45}
46
47if ![info exists NM] then {
48 set NM [findfile $base_dir/../../binutils/nm-new \
49 $base_dir/../../binutils/nm-new \
50 [transform nm]]
51}
52
53if ![info exists NMFLAGS] then {
54 set NMFLAGS {}
55}
56
57if ![info exists OBJCOPY] then {
58 set OBJCOPY [findfile $base_dir/../../binutils/objcopy]
59}
60
61if ![info exists OBJCOPYFLAGS] then {
62 set OBJCOPYFLAGS {}
63}
64
4b0d96c2
HPN
65if ![info exists READELF] then {
66 set READELF [findfile $base_dir/../../binutils/readelf]
67}
68
69if ![info exists READELFFLAGS] then {
70 set READELFFLAGS {}
71}
72
368886ac
L
73if ![info exists ADDR2LINE] then {
74 set ADDR2LINE [findfile $base_dir/../../binutils/addr2line]
75}
76
77if ![info exists ADDR2LINEFLAGS] then {
78 set ADDR2LINEFLAGS {}
79}
80
8ffb70eb
AM
81if ![file isdirectory tmpdir] {catch "exec mkdir tmpdir" status}
82
252b5132 83gas_init
This page took 0.960879 seconds and 4 git commands to generate.