aboutsummaryrefslogtreecommitdiff
path: root/binutils/configure.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-06-16 21:59:41 +0000
committerIan Lance Taylor <ian@airs.com>1994-06-16 21:59:41 +0000
commit6f88f0312286a7356b43ff479642a4894ea07890 (patch)
tree18edf24a4cbd948ab51e8001e204dfa3479cf533 /binutils/configure.in
parente3400040faa27cb517fad2393b68c5345968f25f (diff)
downloadgdb-6f88f0312286a7356b43ff479642a4894ea07890.zip
gdb-6f88f0312286a7356b43ff479642a4894ea07890.tar.gz
gdb-6f88f0312286a7356b43ff479642a4894ea07890.tar.bz2
* configure.in: Set UNDERSCORE in Makefile based on result of
invoking config.bfd with a second argument of ``_''. * Makefile.in (underscore.c): Depend upon Makefile. Don't try to run $(CC) and $(NM), just use $(UNDERSCORE). Create via temporary file. (demangle.o): Remove target. ($(NM_PROG)): Don't depend upon demangle.o, and don't link against demangle.o. It's in libiberty anyhow. (cplus-dem.o): Don't depend upon demangle.o. * binutils.texi: Mention -n and --no-strip-underscores arguments to c++filt.
Diffstat (limited to 'binutils/configure.in')
-rw-r--r--binutils/configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/binutils/configure.in b/binutils/configure.in
index 649e5d5..300d941 100644
--- a/binutils/configure.in
+++ b/binutils/configure.in
@@ -76,6 +76,13 @@ if [ "x${build_srconv}" = "xtrue" ]; then
echo 'BUILD_SRCONV = $(SRCONV_PROG)' >> Makefile.2
fi
+if [ "x`$srcdir/../bfd/config.bfd $target _`" = "xyes" ]; then
+ underscore=1
+else
+ underscore=0
+fi
+echo "UNDERSCORE = ${underscore}" >> Makefile.2
+
cat Makefile.tmp >> Makefile.2
rm -f Makefile.tmp
mv Makefile.2 Makefile