aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1996-06-28 18:13:47 +0000
committerStan Shebs <shebs@codesourcery.com>1996-06-28 18:13:47 +0000
commitc611cd82fc0b6ed67111d927cdcdd0debc56b687 (patch)
treeaedc982dfede09a4202d02ed42d56b1327168f6b /gas
parent8e80606fabbd1ca670935d63b9ade5f0d1bfec2e (diff)
downloadgdb-c611cd82fc0b6ed67111d927cdcdd0debc56b687.zip
gdb-c611cd82fc0b6ed67111d927cdcdd0debc56b687.tar.gz
gdb-c611cd82fc0b6ed67111d927cdcdd0debc56b687.tar.bz2
* mpw-config.in (TARGET_OS): Add definition to conf.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/mpw-config.in4
2 files changed, 8 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index b0dc114..e6afcba 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+Fri Jun 28 11:09:38 1996 Stan Shebs <shebs@andros.cygnus.com>
+
+ * mpw-config.in (TARGET_OS): Add definition to conf.
+
Thu Jun 27 20:39:40 1996 James G. Smith <jsmith@cygnus.co.uk>
* config/tc-mips.c (append_insn): Parenthesize
diff --git a/gas/mpw-config.in b/gas/mpw-config.in
index 3e1f196..3d3eb6f 100644
--- a/gas/mpw-config.in
+++ b/gas/mpw-config.in
@@ -12,6 +12,7 @@ End If
# The following works for many configurations, though not all.
Set obj_format `echo {target_canonical} | sed -e 's/.*-.*-//'`
+Set target_os `echo {target_canonical} | sed -e 's/.*-.*-//'`
Set bfd_gas no
@@ -90,6 +91,9 @@ Echo '/* conf. Generated by mpw-configure. */' > "{o}"conf.new
Echo -n '#define TARGET_CPU "' >> "{o}"conf.new
Echo -n "{target_cpu}" >> "{o}"conf.new
Echo '"' >> "{o}"conf.new
+Echo -n '#define TARGET_OS "' >> "{o}"conf.new
+Echo -n "{target_os}" >> "{o}"conf.new
+Echo '"' >> "{o}"conf.new
Echo -n '#define TARGET_ALIAS "' >> "{o}"conf.new
Echo -n "{target_alias}" >> "{o}"conf.new
Echo '"' >> "{o}"conf.new