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 | ||
8 | global GASP | |
9 | if ![info exists GASP] then { | |
10 | set GASP [findfile $base_dir/../gasp-new "../gasp-new" [transform gasp]] | |
11 | } | |
12 | ||
13 | global ASFLAGS | |
14 | if ![info exists ASFLAGS] then { | |
15 | set ASFLAGS "" | |
16 | } | |
17 | ||
18 | if ![info exists OBJDUMP] then { | |
19 | set OBJDUMP [findfile $base_dir/../../binutils/objdump \ | |
20 | $base_dir/../../binutils/objdump \ | |
21 | [transform objdump]] | |
22 | } | |
23 | ||
24 | if ![info exists OBJDUMPFLAGS] then { | |
25 | set OBJDUMPFLAGS {} | |
26 | } | |
27 | ||
28 | if ![info exists NM] then { | |
29 | set NM [findfile $base_dir/../../binutils/nm-new \ | |
30 | $base_dir/../../binutils/nm-new \ | |
31 | [transform nm]] | |
32 | } | |
33 | ||
34 | if ![info exists NMFLAGS] then { | |
35 | set NMFLAGS {} | |
36 | } | |
37 | ||
38 | if ![info exists OBJCOPY] then { | |
39 | set OBJCOPY [findfile $base_dir/../../binutils/objcopy] | |
40 | } | |
41 | ||
42 | if ![info exists OBJCOPYFLAGS] then { | |
43 | set OBJCOPYFLAGS {} | |
44 | } | |
45 | ||
4b0d96c2 HPN |
46 | if ![info exists READELF] then { |
47 | set READELF [findfile $base_dir/../../binutils/readelf] | |
48 | } | |
49 | ||
50 | if ![info exists READELFFLAGS] then { | |
51 | set READELFFLAGS {} | |
52 | } | |
53 | ||
252b5132 | 54 | gas_init |