* objdump.c (slurp_file): Close file if fstat fails.
[binutils.git] / gas / testsuite / config / default.exp
blob044dba1073bde9fd1df80a5d9e07434d8a776a52
1 load_lib gas-defs.exp
3 global AS
4 if ![info exists AS] then {
5     set AS [findfile $base_dir/../as-new "../as-new" [transform as]]
8 global ASFLAGS
9 if ![info exists ASFLAGS] then {
10     set ASFLAGS ""
13 if ![info exists OBJDUMP] then {
14     set OBJDUMP [findfile $base_dir/../../binutils/objdump \
15                           $base_dir/../../binutils/objdump \
16                           [transform objdump]]
19 if ![info exists OBJDUMPFLAGS] then {
20     set OBJDUMPFLAGS {}
23 if ![info exists NM] then {
24     set NM [findfile $base_dir/../../binutils/nm-new \
25                      $base_dir/../../binutils/nm-new \
26                      [transform nm]]
29 if ![info exists NMFLAGS] then {
30     set NMFLAGS {}
33 if ![info exists OBJCOPY] then {
34     set OBJCOPY [findfile $base_dir/../../binutils/objcopy]
37 if ![info exists OBJCOPYFLAGS] then {
38     set OBJCOPYFLAGS {}
41 if ![info exists READELF] then {
42     set READELF [findfile $base_dir/../../binutils/readelf]
45 if ![info exists READELFFLAGS] then {
46     set READELFFLAGS {}
49 if ![info exists ADDR2LINE] then {
50     set ADDR2LINE [findfile $base_dir/../../binutils/addr2line]
53 if ![info exists ADDR2LINEFLAGS] then {
54     set ADDR2LINEFLAGS {}
57 gas_init