aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-02-14 21:37:16 +0000
committerIan Lance Taylor <ian@airs.com>1996-02-14 21:37:16 +0000
commit8a6f53e91bfd4d460f28f95a48809b668382391e (patch)
tree1d64d016a1710bdb1be2cd32cb60ca1118cbcc31
parentc9e5279f23bbe58f0a52cc011bf4a49681b8bb88 (diff)
downloadgdb-8a6f53e91bfd4d460f28f95a48809b668382391e.zip
gdb-8a6f53e91bfd4d460f28f95a48809b668382391e.tar.gz
gdb-8a6f53e91bfd4d460f28f95a48809b668382391e.tar.bz2
Wed Feb 14 16:33:12 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de>
* read.c (s_mri_sect): Don't return '\0' in type. Set all appropriate flags in BFD section. * configure.in (m68k-*-psos*): New target. * configure: Rebuild. * config/te-psos.h: New file. * config/tc-m68k.c (comment_chars): Don't include '#' if TE_PSOS is defined.
-rw-r--r--gas/ChangeLog11
-rw-r--r--gas/config/.Sanitize1
-rw-r--r--gas/config/tc-m68k.c2
-rw-r--r--gas/config/te-psos.h22
-rw-r--r--gas/configure.in3
5 files changed, 37 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 40d4f6f..04e5f3c 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,14 @@
+Wed Feb 14 16:33:12 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de>
+
+ * read.c (s_mri_sect): Don't return '\0' in type. Set all
+ appropriate flags in BFD section.
+
+ * configure.in (m68k-*-psos*): New target.
+ * configure: Rebuild.
+ * config/te-psos.h: New file.
+ * config/tc-m68k.c (comment_chars): Don't include '#' if TE_PSOS
+ is defined.
+
Wed Feb 14 13:43:24 1996 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (mips_big_got): New static variable.
diff --git a/gas/config/.Sanitize b/gas/config/.Sanitize
index a24eb30..9f251b2 100644
--- a/gas/config/.Sanitize
+++ b/gas/config/.Sanitize
@@ -146,6 +146,7 @@ te-nbsd532.h
te-pc532mach.h
te-pe.h
te-ppcnw.h
+te-psos.h
te-sco386.h
te-sun3.h
te-sysv32.h
diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c
index dc82c13..d9694e0 100644
--- a/gas/config/tc-m68k.c
+++ b/gas/config/tc-m68k.c
@@ -28,7 +28,7 @@
/* This array holds the chars that always start a comment. If the
pre-processor is disabled, these aren't very useful */
-#if defined (OBJ_ELF) || defined (TE_DELTA)
+#if (defined (OBJ_ELF) && ! defined (TE_PSOS)) || defined (TE_DELTA)
const char comment_chars[] = "|#";
#else
const char comment_chars[] = "|";
diff --git a/gas/config/te-psos.h b/gas/config/te-psos.h
new file mode 100644
index 0000000..2ad4153
--- /dev/null
+++ b/gas/config/te-psos.h
@@ -0,0 +1,22 @@
+/*
+ * This file is te-psos.h for embedded systems running pSOS.
+ * Contributed by Martin Anantharaman (martin@mail.imech.uni-duisburg.de)
+ */
+
+#define TE_PSOS
+
+/* 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
+
+/* This makes GAS more versatile and blocks some ELF'isms in
+ tc-m68k.h. */
+
+#define REGISTER_PREFIX_OPTIONAL 1
+
+#include "obj-format.h"
+
+/* end of te-psos.h */
diff --git a/gas/configure.in b/gas/configure.in
index a8a9676..d8d0356 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -226,7 +226,8 @@ changequote([,])dnl
m68k-*-lynxos*) fmt=coff targ=m68kcoff
em=lynx ;;
m68k-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes ;;
- m68*-apple-aux*) fmt=coff targ=m68kcoff em=aux ;;
+ m68k-apple-aux*) fmt=coff targ=m68kcoff em=aux ;;
+ m68k-*-psos*) fmt=elf em=psos;;
m88k-motorola-sysv3*) fmt=coff targ=m88kcoff em=delt88 ;;
m88k-*-coff*) fmt=coff targ=m88kcoff ;;