* 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 c3b4b9ac1cb9a7eadb4a8d659690c3bf83843497..10c585ede0bdd287c1e4471f887c88f103f6cd5d 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 3319b1613fc9797778ae358f5ed6337c94d9dd9a..5faa927d91963871447640630c28ef95e28840f8 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