* 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.
This commit is contained in:
Ian Lance Taylor
1994-06-16 21:59:41 +00:00
parent e3400040fa
commit 6f88f03122
4 changed files with 38 additions and 19 deletions

View File

@ -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