Commit | Line | Data |
---|---|---|
252b5132 RH |
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 | ||
252b5132 RH |
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 | ||
4b0d96c2 HPN |
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 | ||
252b5132 | 49 | gas_init |