OSDN Git Service

* config/vax/linux.h (TARGET_OS_CPP_BUILTINS): Don't define
authormacro <macro@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Nov 2009 00:07:24 +0000 (00:07 +0000)
committermacro <macro@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Nov 2009 00:07:24 +0000 (00:07 +0000)
__pic__ or __PIC__.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153883 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/vax/linux.h

index c8296d5..c195eae 100644 (file)
@@ -1,5 +1,10 @@
 2009-11-04  Maciej W. Rozycki  <macro@linux-mips.org>
 
+       * config/vax/linux.h (TARGET_OS_CPP_BUILTINS): Don't define
+       __pic__ or __PIC__.
+
+2009-11-04  Maciej W. Rozycki  <macro@linux-mips.org>
+
        * config.gcc (vax-*-linux*): Keep the original contents of
        tmake_file while adding vax/t-linux.
 
index 1087069..dccbe9c 100644 (file)
@@ -21,17 +21,7 @@ along with GCC; see the file COPYING3.  If not see
 #undef TARGET_VERSION
 #define TARGET_VERSION fprintf (stderr, " (VAX GNU/Linux with ELF)");
 
-#define TARGET_OS_CPP_BUILTINS()               \
-  do                                           \
-    {                                          \
-       LINUX_TARGET_OS_CPP_BUILTINS();         \
-       if (flag_pic)                           \
-         {                                     \
-           builtin_define ("__PIC__");         \
-           builtin_define ("__pic__");         \
-         }                                     \
-    }                                          \
-  while (0)
+#define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS()
 
 /* We use GAS, G-float double and want new DI patterns.  */
 #undef TARGET_DEFAULT