aboutsummaryrefslogtreecommitdiff
path: root/binutils/configure.in
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-01-09 20:25:31 +0000
committerNick Clifton <nickc@redhat.com>2001-01-09 20:25:31 +0000
commit8b1e6df337acf62900dda4e8aad874b999563510 (patch)
tree09b817ba0eba8acb0858f9833f998dce9fd0b5b6 /binutils/configure.in
parent8c1f9e76d2e75bd32925048a0ee9871aec6e81fe (diff)
downloadgdb-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.in')
-rw-r--r--binutils/configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/binutils/configure.in b/binutils/configure.in
index 184855b..d175d85 100644
--- a/binutils/configure.in
+++ b/binutils/configure.in
@@ -171,6 +171,7 @@ DLLTOOL_DEFS=
BUILD_WINDRES=
BUILD_DLLWRAP=
BUILD_MISC=
+OBJDUMP_DEFS=
for targ in $target $canon_targets
do
@@ -219,6 +220,9 @@ changequote([,])dnl
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM"
BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
;;
+ arm-* | xscale-* | strongarm-* | d10v-*)
+ OBJDUMP_DEFS="-DDISASSEMBLER_NEEDS_RELOCS"
+ ;;
changequote(,)dnl
i[3-6]86-*pe* | i[3-6]86-*-cygwin* | i[3-6]86-*-mingw32*)
changequote([,])dnl
@@ -267,6 +271,7 @@ AC_SUBST(DLLTOOL_DEFS)
AC_SUBST(BUILD_WINDRES)
AC_SUBST(BUILD_DLLWRAP)
AC_SUBST(BUILD_MISC)
+AC_SUBST(OBJDUMP_DEFS)
AC_DEFINE_UNQUOTED(TARGET, "${target}", [Configured target name.])