2 # Free Software Foundation, Inc.
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 3 of the License, or
7 # (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
21 if ![info exists AS] then {
22 set AS [findfile $base_dir/../as-new "../as-new" [transform as]]
26 if ![info exists ASFLAGS] then {
30 if ![info exists OBJDUMP] then {
31 set OBJDUMP [findfile $base_dir/../../binutils/objdump \
32 $base_dir/../../binutils/objdump \
36 if ![info exists OBJDUMPFLAGS] then {
40 if ![info exists NM] then {
41 set NM [findfile $base_dir/../../binutils/nm-new \
42 $base_dir/../../binutils/nm-new \
46 if ![info exists NMFLAGS] then {
50 if ![info exists OBJCOPY] then {
51 set OBJCOPY [findfile $base_dir/../../binutils/objcopy]
54 if ![info exists OBJCOPYFLAGS] then {
58 if ![info exists READELF] then {
59 set READELF [findfile $base_dir/../../binutils/readelf]
62 if ![info exists READELFFLAGS] then {
66 if ![info exists ADDR2LINE] then {
67 set ADDR2LINE [findfile $base_dir/../../binutils/addr2line]
70 if ![info exists ADDR2LINEFLAGS] then {