aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meissner <meissner@gcc.gnu.org>1992-10-21 16:24:06 +0000
committerMichael Meissner <meissner@gcc.gnu.org>1992-10-21 16:24:06 +0000
commitbec06bb29edfec4f6adadb164df11f39a8f25d15 (patch)
tree96d79861d9c68085877e030762f069a89c0b10d8
parentd39985fabf60fc4c42acf88a039a9b0bca027cc2 (diff)
downloadgcc-bec06bb29edfec4f6adadb164df11f39a8f25d15.zip
gcc-bec06bb29edfec4f6adadb164df11f39a8f25d15.tar.gz
gcc-bec06bb29edfec4f6adadb164df11f39a8f25d15.tar.bz2
Handle -pic-names switch.
From-SVN: r2541
-rw-r--r--gcc/config/i386/osfrose.h13
-rw-r--r--gcc/config/mips/osfrose.h7
2 files changed, 14 insertions, 6 deletions
diff --git a/gcc/config/i386/osfrose.h b/gcc/config/i386/osfrose.h
index ae0a6d5..21a5558 100644
--- a/gcc/config/i386/osfrose.h
+++ b/gcc/config/i386/osfrose.h
@@ -23,12 +23,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define OSF_OS
-/* Use a more friendly abort which prints internal compiler error,
- rather than just dumping core. */
-
-#ifndef abort
-#define abort fancy_abort
-#endif
+#undef WORD_SWITCH_TAKES_ARG
+#define WORD_SWITCH_TAKES_ARG(STR) \
+ (!strcmp (STR, "Tdata") || !strcmp (STR, "Ttext") \
+ || !strcmp (STR, "Tbss") || !strcmp (STR, "include") \
+ || !strcmp (STR, "imacros") || !strcmp (STR, "aux-info") \
+ || !strcmp (STR, "pic-names"))
#define MASK_HALF_PIC 0x40000000 /* Mask for half-pic code */
#define MASK_HALF_PIC_DEBUG 0x20000000 /* Debug flag */
@@ -74,6 +74,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
%{pic-lib: -mhalf-pic} \
%{pic-extern: -mhalf-pic} \
%{pic-calls: -mhalf-pic} \
+%{pic-names*: -mhalf-pic} \
%{!pic-*: -mhalf-pic}"
#undef ASM_SPEC
diff --git a/gcc/config/mips/osfrose.h b/gcc/config/mips/osfrose.h
index 93baee5..1923d92 100644
--- a/gcc/config/mips/osfrose.h
+++ b/gcc/config/mips/osfrose.h
@@ -26,6 +26,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "halfpic.h"
+#define WORD_SWITCH_TAKES_ARG(STR) \
+ (!strcmp (STR, "Tdata") || !strcmp (STR, "Ttext") \
+ || !strcmp (STR, "Tbss") || !strcmp (STR, "include") \
+ || !strcmp (STR, "imacros") || !strcmp (STR, "aux-info") \
+ || !strcmp (STR, "pic-names"))
+
#define CPP_PREDEFINES "-DOSF -DOSF1 -Dbsd4_2 -DMIPSEL -Dhost_mips -Dmips -Dunix -DR3000 -DSYSTYPE_BSD"
#define ASM_SPEC "\
@@ -93,6 +99,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
%{pic-lib: -mhalf-pic} \
%{pic-extern: -mhalf-pic} \
%{pic-calls: -mhalf-pic} \
+%{pic-names*: -mhalf-pic} \
%{!pic-*: -mhalf-pic}"
/* Specify size_t, ptrdiff_t, and wchar_t types. */