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