* Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
* Makefile.in: Regenerate.
+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, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
+ * Makefile.in: Regenerate.
+
2009-06-01 H.J. Lu <hongjiu.lu@intel.com>
PR gas/10198
for f in $?; do \
$(MKDEP) $(DEP_FLAGS) $$f > DEP; \
sed -n -e '1s/: .*/: \\/p' -e q < DEP >> DEP2; \
- sed -e '1s/.*://' -f ../dep.sed < DEP | LC_ALL=C sort | uniq | \
+ sed -e '1s/.*://' -f ../dep.sed < DEP | \
+ LC_ALL=C sort | LC_ALL=C uniq | \
sed -e 's/^[AB]/ /' -e '$$s/ \\$$//' >> DEP2; \
done
mv -f DEPDIR/DEP2 $@
echo "DEPTC_$${c}_$${o} = \\" >> ../DEPTCA; \
$(MKDEP) $(DEP_FLAGS) dumtc.c | \
sed -e '1s/dumtc.o: //' -f ../dep.sed | \
- LC_ALL=C sort | uniq | \
+ LC_ALL=C sort | LC_ALL=C uniq | \
sed -e '/^A/d' -e 's/^B/ /' -e '$$s/ \\$$//' >> ../DEPTCA; \
rm -f dumtc.c; \
else true; fi; \
echo "DEPOBJ_$${c}_$${o} = \\" >> ../DEPOBJA; \
$(MKDEP) $(DEP_FLAGS) dumobj.c | \
sed -e "s/dumobj.o: //" -f ../dep.sed | \
- LC_ALL=C sort | uniq | \
+ LC_ALL=C sort | LC_ALL=C uniq | \
sed -e '/^A/d' -e 's/^B/ /' -e '$$s/ \\$$//' >> ../DEPOBJA; \
rm -f dumobj.c; \
else true; fi; \
echo "DEP_$${c}_$${o} = \\" >> ../DEP2A; \
$(MKDEP) $(DEP_FLAGS) dummy.c | \
sed -e "s/dummy.o: //" -f ../dep.sed | \
- LC_ALL=C sort | uniq | \
+ LC_ALL=C sort | LC_ALL=C uniq | \
sed -e '/^A/d' -e 's/^B/ /' -e '$$s/ \\$$//' >> ../DEP2A; \
else true; fi; \
done; \
for f in $?; do \
$(MKDEP) $(DEP_FLAGS) $$f > DEP; \
sed -n -e '1s/: .*/: \\/p' -e q < DEP >> DEP2; \
- sed -e '1s/.*://' -f ../dep.sed < DEP | LC_ALL=C sort | uniq | \
+ sed -e '1s/.*://' -f ../dep.sed < DEP | \
+ LC_ALL=C sort | LC_ALL=C uniq | \
sed -e 's/^[AB]/ /' -e '$$s/ \\$$//' >> DEP2; \
done
mv -f DEPDIR/DEP2 $@
echo "DEPTC_$${c}_$${o} = \\" >> ../DEPTCA; \
$(MKDEP) $(DEP_FLAGS) dumtc.c | \
sed -e '1s/dumtc.o: //' -f ../dep.sed | \
- LC_ALL=C sort | uniq | \
+ LC_ALL=C sort | LC_ALL=C uniq | \
sed -e '/^A/d' -e 's/^B/ /' -e '$$s/ \\$$//' >> ../DEPTCA; \
rm -f dumtc.c; \
else true; fi; \
echo "DEPOBJ_$${c}_$${o} = \\" >> ../DEPOBJA; \
$(MKDEP) $(DEP_FLAGS) dumobj.c | \
sed -e "s/dumobj.o: //" -f ../dep.sed | \
- LC_ALL=C sort | uniq | \
+ LC_ALL=C sort | LC_ALL=C uniq | \
sed -e '/^A/d' -e 's/^B/ /' -e '$$s/ \\$$//' >> ../DEPOBJA; \
rm -f dumobj.c; \
else true; fi; \
echo "DEP_$${c}_$${o} = \\" >> ../DEP2A; \
$(MKDEP) $(DEP_FLAGS) dummy.c | \
sed -e "s/dummy.o: //" -f ../dep.sed | \
- LC_ALL=C sort | uniq | \
+ LC_ALL=C sort | LC_ALL=C uniq | \
sed -e '/^A/d' -e 's/^B/ /' -e '$$s/ \\$$//' >> ../DEP2A; \
else true; fi; \
done; \
s/ *$//
s/ */ /g
s/^ */A/
-s/ / \\\nB/g
+s/ / \\\
+B/g
$s/$/ \\/