* mpw-make.sed: Edit out shared library support bits.
authorStan Shebs <shebs@codesourcery.com>
Tue, 27 Feb 1996 01:31:28 +0000 (01:31 +0000)
committerStan Shebs <shebs@codesourcery.com>
Tue, 27 Feb 1996 01:31:28 +0000 (01:31 +0000)
opcodes/ChangeLog
opcodes/mpw-make.sed

index c3b4b9a..10c585e 100644 (file)
@@ -1,3 +1,7 @@
+Mon Feb 26 13:03:40 1996  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * mpw-make.sed: Edit out shared library support bits.
+
 Tue Feb 20 20:48:28 1996  Doug Evans  <dje@charmed.cygnus.com>
 
        * sparc-opc.c (v8,v6notv9): Add MASK_SPARCLET.
index 3319b16..5faa927 100644 (file)
@@ -7,3 +7,17 @@
 /^CSEARCH = .*$/s/$/ -i "{INCDIR}":mpw: -i ::extra-include:/
 /BFD_MACHINES/s/@BFD_MACHINES@/{BFD_MACHINES}/
 /archdefs/s/@archdefs@/{ARCHDEFS}/
+
+# No PIC foolery in this environment.
+/@ALLLIBS@/s/@ALLLIBS@/{TARGETLIB}/
+/@PICLIST@/s/@PICLIST@//
+/@PICFLAG@/s/@PICFLAG@//
+/^{OFILES} \\Option-f stamp-picdir/,/^$/d
+
+# Remove the pic trickery from the default build rule.
+/^\.c\.o \\Option-f /,/End If/c\
+.c.o \\Option-f .c
+
+# Remove pic trickery from other rules - aimed at the rule
+# for disassemble.o in particular.
+/-n "{PICFLAG}"/,/End If/d