aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-06-04 06:56:53 +0000
committerAlan Modra <amodra@gmail.com>2009-06-04 06:56:53 +0000
commit4b9d2a998bc949c056e4a37f0942e3ea0571376a (patch)
treef8d6306566a5a3822270f9691632af24e5f5facf /binutils
parenta1ef399e234ed22e6594a0622362a4c1a26b8967 (diff)
downloadgdb-4b9d2a998bc949c056e4a37f0942e3ea0571376a.zip
gdb-4b9d2a998bc949c056e4a37f0942e3ea0571376a.tar.gz
gdb-4b9d2a998bc949c056e4a37f0942e3ea0571376a.tar.bz2
* dep-in.sed: Don't use \n in replacement part of s command.
* Makefile.am (DEP1): LC_ALL for uniq. Run "make dep-am". * Makefile.in: Regenerate.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog7
-rw-r--r--binutils/Makefile.am5
-rw-r--r--binutils/Makefile.in5
-rw-r--r--binutils/dep-in.sed3
4 files changed, 17 insertions, 3 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index a7d6ff6..74ff09e 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,10 @@
+2009-06-04 Alan Modra <amodra@bigpond.net.au>
+
+ * dep-in.sed: Don't use \n in replacement part of s command.
+ * Makefile.am (DEP1): LC_ALL for uniq.
+ Run "make dep-am".
+ * Makefile.in: Regenerate.
+
2009-06-03 Tristan Gingold <gingold@adacore.com>
* MAINTAINERS: Add myself as Mach-O maintainer.
diff --git a/binutils/Makefile.am b/binutils/Makefile.am
index 535e556..d3dd46e 100644
--- a/binutils/Makefile.am
+++ b/binutils/Makefile.am
@@ -411,7 +411,8 @@ DEP1: $(CFILES) $(GENERATED_CFILES)
for f in $?; do \
$(MKDEP) $(INCLUDES) $(CFLAGS) $$f > DEPA; \
sed -n -e '1s/: .*/: \\/p' -e q < DEPA >> DEP2; \
- sed -e '1s/.*: //' -f dep.sed < DEPA | LC_ALL=C sort | uniq | \
+ sed -e '1s/.*: //' -f dep.sed < DEPA | \
+ LC_ALL=C sort | LC_ALL=C uniq | \
sed -e 's/^[AB]/ /' -e '$$s/ \\$$//' >> DEP2; \
done
rm -f DEPA
@@ -496,6 +497,7 @@ addr2line.o: \
ar.o: \
ar.c \
$(BFDDIR)/libbfd.h \
+ $(BFDDIR)/plugin.h \
$(INCDIR)/alloca-conf.h \
$(INCDIR)/ansidecl.h \
$(INCDIR)/aout/ar.h \
@@ -764,6 +766,7 @@ nlmconv.o: \
nm.o: \
nm.c \
$(BFDDIR)/elf-bfd.h \
+ $(BFDDIR)/plugin.h \
$(INCDIR)/alloca-conf.h \
$(INCDIR)/ansidecl.h \
$(INCDIR)/aout/ranlib.h \
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index ba7790c..d001448 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -1186,7 +1186,8 @@ DEP1: $(CFILES) $(GENERATED_CFILES)
for f in $?; do \
$(MKDEP) $(INCLUDES) $(CFLAGS) $$f > DEPA; \
sed -n -e '1s/: .*/: \\/p' -e q < DEPA >> DEP2; \
- sed -e '1s/.*: //' -f dep.sed < DEPA | LC_ALL=C sort | uniq | \
+ sed -e '1s/.*: //' -f dep.sed < DEPA | \
+ LC_ALL=C sort | LC_ALL=C uniq | \
sed -e 's/^[AB]/ /' -e '$$s/ \\$$//' >> DEP2; \
done
rm -f DEPA
@@ -1264,6 +1265,7 @@ addr2line.o: \
ar.o: \
ar.c \
$(BFDDIR)/libbfd.h \
+ $(BFDDIR)/plugin.h \
$(INCDIR)/alloca-conf.h \
$(INCDIR)/ansidecl.h \
$(INCDIR)/aout/ar.h \
@@ -1532,6 +1534,7 @@ nlmconv.o: \
nm.o: \
nm.c \
$(BFDDIR)/elf-bfd.h \
+ $(BFDDIR)/plugin.h \
$(INCDIR)/alloca-conf.h \
$(INCDIR)/ansidecl.h \
$(INCDIR)/aout/ranlib.h \
diff --git a/binutils/dep-in.sed b/binutils/dep-in.sed
index 0461228..4823f1e 100644
--- a/binutils/dep-in.sed
+++ b/binutils/dep-in.sed
@@ -15,5 +15,6 @@ s! \.\./intl/libintl\.h!!g
s/ *$//
s/ */ /g
s/^ */A/
-s/ / \\\nB/g
+s/ / \\\
+B/g
$s/$/ \\/