044dba1073bde9fd1df80a5d9e07434d8a776a52
[binutils-gdb.git] / gas / testsuite / config / default.exp
1 load_lib gas-defs.exp
2
3 global AS
4 if ![info exists AS] then {
5 set AS [findfile $base_dir/../as-new "../as-new" [transform as]]
6 }
7
8 global ASFLAGS
9 if ![info exists ASFLAGS] then {
10 set ASFLAGS ""
11 }
12
13 if ![info exists OBJDUMP] then {
14 set OBJDUMP [findfile $base_dir/../../binutils/objdump \
15 $base_dir/../../binutils/objdump \
16 [transform objdump]]
17 }
18
19 if ![info exists OBJDUMPFLAGS] then {
20 set OBJDUMPFLAGS {}
21 }
22
23 if ![info exists NM] then {
24 set NM [findfile $base_dir/../../binutils/nm-new \
25 $base_dir/../../binutils/nm-new \
26 [transform nm]]
27 }
28
29 if ![info exists NMFLAGS] then {
30 set NMFLAGS {}
31 }
32
33 if ![info exists OBJCOPY] then {
34 set OBJCOPY [findfile $base_dir/../../binutils/objcopy]
35 }
36
37 if ![info exists OBJCOPYFLAGS] then {
38 set OBJCOPYFLAGS {}
39 }
40
41 if ![info exists READELF] then {
42 set READELF [findfile $base_dir/../../binutils/readelf]
43 }
44
45 if ![info exists READELFFLAGS] then {
46 set READELFFLAGS {}
47 }
48
49 if ![info exists ADDR2LINE] then {
50 set ADDR2LINE [findfile $base_dir/../../binutils/addr2line]
51 }
52
53 if ![info exists ADDR2LINEFLAGS] then {
54 set ADDR2LINEFLAGS {}
55 }
56
57 gas_init