summaryrefslogtreecommitdiff
path: root/libiberty/maint-tool
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-27 21:00:12 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-27 21:00:12 +0000
commita1ba1d9806c050359ae2acca7ddb07bd7dacd6f9 (patch)
treee8824a1b1fffff42812a256df748695b4bde32f1 /libiberty/maint-tool
parent345b2a3907b1972677ba3091684d23a482ec9e40 (diff)
downloadgcc-a1ba1d9806c050359ae2acca7ddb07bd7dacd6f9.tar.gz
2004-12-27 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.in: Undo to 2004-12-17. * aclocal.m4: Likewise. * config.table: Likewise. * configure.ac: Likewise. * maint-tool: Likewise. * configure: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92651 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/maint-tool')
-rw-r--r--libiberty/maint-tool9
1 files changed, 6 insertions, 3 deletions
diff --git a/libiberty/maint-tool b/libiberty/maint-tool
index 5e35027712c..bfc53042247 100644
--- a/libiberty/maint-tool
+++ b/libiberty/maint-tool
@@ -76,7 +76,7 @@ sub missing {
for $f (sort keys %listed) {
if ($f =~ /(.*)\.c$/) {
$base = $1;
- if (! $listed{"$base.lo"}) {
+ if (! $listed{"$base.o"}) {
print "O $f\n";
}
}
@@ -213,7 +213,10 @@ sub locals_first {
sub deps {
- $crule .= "\t\$(LTCOMPILE) -c -o \$@ \$<\n";
+ $crule = "\tif [ x\"\$(PICFLAG)\" != x ]; then \\\n";
+ $crule .= "\t \$(COMPILE.c) \$(PICFLAG) \$< -o pic/\$@; \\\n";
+ $crule .= "\telse true; fi\n";
+ $crule .= "\t\$(COMPILE.c) \$< \$(OUTPUT_OPTION)\n";
$crule .= "\n";
$incdir = shift @ARGV;
@@ -262,7 +265,7 @@ sub deps {
}
@deps = sort { &locals_first($a,$b) } keys %scanned;
$obj = $f;
- $obj =~ s/\.c$/.lo/;
+ $obj =~ s/\.c$/.o/;
$obj = "./$obj:";
if ($#deps >= 0) {
print OUT "$obj \$(srcdir)/$f";