aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1995-11-14 04:45:54 +0000
committerStan Shebs <shebs@codesourcery.com>1995-11-14 04:45:54 +0000
commit51bc513e4ef53ebf2580eafcac5757950d3b23ff (patch)
tree10aade24a3ca28ad61ea66a413195486ea70b041 /gas
parent13a0f5955f5eea1befbfb928b9fe296d9ee2dee9 (diff)
downloadgdb-51bc513e4ef53ebf2580eafcac5757950d3b23ff.zip
gdb-51bc513e4ef53ebf2580eafcac5757950d3b23ff.tar.gz
gdb-51bc513e4ef53ebf2580eafcac5757950d3b23ff.tar.bz2
* configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations.
* configure: Update. * mpw-make.sed: Reorder commands to make sed happier. * config/te-macos.h: New file. * config/tc-ppc.h (TARGET_FORMAT): Set correctly for PowerMac.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog8
-rw-r--r--gas/config/te-macos.h11
-rw-r--r--gas/mpw-make.sed10
3 files changed, 25 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 19338fb..604b041 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,11 @@
+Mon Nov 13 20:39:06 1995 Stan Shebs <shebs@andros.cygnus.com>
+
+ * configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations.
+ * configure: Update.
+ * mpw-make.sed: Reorder commands to make sed happier.
+ * config/te-macos.h: New file.
+ * config/tc-ppc.h (TARGET_FORMAT): Set correctly for PowerMac.
+
Sun Nov 12 21:14:56 1995 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_ip): Fix off-by-2 bug in length check for
diff --git a/gas/config/te-macos.h b/gas/config/te-macos.h
new file mode 100644
index 0000000..5f48dc4
--- /dev/null
+++ b/gas/config/te-macos.h
@@ -0,0 +1,11 @@
+/* This file is te-macos.h. */
+
+#define TE_POWERMAC 1
+
+/* Added these, because if we don't know what we're targetting we may
+ need an assembler version of libgcc, and that will use local
+ labels. */
+#define LOCAL_LABELS_DOLLAR 1
+#define LOCAL_LABELS_FB 1
+
+#include "obj-format.h"
diff --git a/gas/mpw-make.sed b/gas/mpw-make.sed
index a5f4070..4f2d553 100644
--- a/gas/mpw-make.sed
+++ b/gas/mpw-make.sed
@@ -64,16 +64,18 @@ LOCAL_LOADLIBES = \
# Whack out recursive makes, they won't work.
/^[ ][ ]*srcroot=/,/^[ ][ ]*(cd /d
+# Work around quoting problems by using multiple echo commands.
/'#define GAS_VERSION "{VERSION}"'/c\
Echo -n '#define GAS_VERSION "' >> "{o}"config.new\
Echo -n "{VERSION}" >> "{o}"config.new\
Echo -n '"' >> "{o}"config.new
+# Add a "stamps" target.
+$a\
+stamps \\Option-f config-stamp\
+
# Whack out config-rebuilding targets, they won't work.
+/^Makefile \\Option-f/,/^$/d
/^config.status \\Option-f/,/^$/d
/^"{o}"config.h \\Option-f/s/^/#/
-
-# Add a "stamps" target.
-$a\
-stamps \\Option-f config-stamp\