]> gcc.gnu.org Git - gcc.git/commitdiff
Handle -pic-names switch.
authorMichael Meissner <meissner@gcc.gnu.org>
Wed, 21 Oct 1992 16:24:06 +0000 (16:24 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Wed, 21 Oct 1992 16:24:06 +0000 (16:24 +0000)
From-SVN: r2541

gcc/config/i386/osfrose.h
gcc/config/mips/osfrose.h

index ae0a6d502c1c82da01e2dfe6137c79f8bdcf0c79..21a5558c669662b11107fb400b9a294398a76910 100644 (file)
@@ -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
index 93baee59f17d7ee08ef023e8863864e6a9c6e6d6..1923d928b9edbd79b7816dca05e4211c1b4c1358 100644 (file)
@@ -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.  */
This page took 0.071488 seconds and 5 git commands to generate.