aboutsummaryrefslogtreecommitdiff
path: root/opcodes/mpw-make.sed
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1996-02-27 01:31:28 +0000
committerStan Shebs <shebs@codesourcery.com>1996-02-27 01:31:28 +0000
commitc8f388e7ed750740c831984a9e9e0e1515bc674f (patch)
tree230677d4aae2f4967716a98d3f54c1cdd9f75098 /opcodes/mpw-make.sed
parentbe317b066f42573d3549748140f02ae0a8ddefe9 (diff)
downloadgdb-c8f388e7ed750740c831984a9e9e0e1515bc674f.zip
gdb-c8f388e7ed750740c831984a9e9e0e1515bc674f.tar.gz
gdb-c8f388e7ed750740c831984a9e9e0e1515bc674f.tar.bz2
* mpw-make.sed: Edit out shared library support bits.
Diffstat (limited to 'opcodes/mpw-make.sed')
-rw-r--r--opcodes/mpw-make.sed14
1 files changed, 14 insertions, 0 deletions
diff --git a/opcodes/mpw-make.sed b/opcodes/mpw-make.sed
index 3319b16..5faa927 100644
--- a/opcodes/mpw-make.sed
+++ b/opcodes/mpw-make.sed
@@ -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