aboutsummaryrefslogtreecommitdiff
path: root/gas/config
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 /gas/config
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.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/.Sanitize1
-rw-r--r--gas/config/tc-m68k.c2
-rw-r--r--gas/config/te-psos.h22
3 files changed, 24 insertions, 1 deletions
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 */