diff options
author | Nick Clifton <nickc@redhat.com> | 2001-01-09 20:25:31 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-01-09 20:25:31 +0000 |
commit | 8b1e6df337acf62900dda4e8aad874b999563510 (patch) | |
tree | 09b817ba0eba8acb0858f9833f998dce9fd0b5b6 /binutils/configure | |
parent | 8c1f9e76d2e75bd32925048a0ee9871aec6e81fe (diff) | |
download | gdb-8b1e6df337acf62900dda4e8aad874b999563510.zip gdb-8b1e6df337acf62900dda4e8aad874b999563510.tar.gz gdb-8b1e6df337acf62900dda4e8aad874b999563510.tar.bz2 |
Add OBJDUMP_DEFS to configure and makefile
Check for DISASSEMBLER_NEEDS_RELOCS in objdump and read in relocs if set.
Diffstat (limited to 'binutils/configure')
-rwxr-xr-x | binutils/configure | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/configure b/binutils/configure index 3f6021b..bf0043e 100755 --- a/binutils/configure +++ b/binutils/configure @@ -5371,6 +5371,7 @@ DLLTOOL_DEFS= BUILD_WINDRES= BUILD_DLLWRAP= BUILD_MISC= +OBJDUMP_DEFS= for targ in $target $canon_targets do @@ -5417,6 +5418,9 @@ do DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM" BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)' ;; + arm-* | xscale-* | strongarm-* | d10v-*) + OBJDUMP_DEFS="-DDISASSEMBLER_NEEDS_RELOCS" + ;; i[3-6]86-*pe* | i[3-6]86-*-cygwin* | i[3-6]86-*-mingw32*) BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)' DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_I386" @@ -5464,6 +5468,7 @@ done + cat >> confdefs.h <<EOF #define TARGET "${target}" EOF @@ -5687,6 +5692,7 @@ s%@DLLTOOL_DEFS@%$DLLTOOL_DEFS%g s%@BUILD_WINDRES@%$BUILD_WINDRES%g s%@BUILD_DLLWRAP@%$BUILD_DLLWRAP%g s%@BUILD_MISC@%$BUILD_MISC%g +s%@OBJDUMP_DEFS@%$OBJDUMP_DEFS%g s%@UNDERSCORE@%$UNDERSCORE%g CEOF |