]> gcc.gnu.org Git - gcc.git/commitdiff
rs6000.h: Correct target_flags free bits comment.
authorAlan Modra <amodra@bigpond.net.au>
Tue, 27 Jan 2004 11:15:23 +0000 (11:15 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Tue, 27 Jan 2004 11:15:23 +0000 (21:45 +1030)
* config/rs6000/rs6000.h: Correct target_flags free bits comment.
(PREDICATE_CODES): Remove duplicate.
* config/rs6000/linux64.h (CPP_SYSV_SPEC): Don't define.
(SUBSUBTARGET_OVERRIDE_OPTIONS): Disallow 32 bit TARGET_PROFILE_KERNEL.
(MASK_PROFILE_KERNEL): Adjust define.

From-SVN: r76697

gcc/ChangeLog
gcc/config/rs6000/linux64.h
gcc/config/rs6000/rs6000.h

index 05c5fb5a9dcaf1a5648be5045220c4291fb20bf6..e4319c734ed3bed851d93c3350e9cfe84759112c 100644 (file)
@@ -1,3 +1,11 @@
+2004-01-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/rs6000/rs6000.h: Correct target_flags free bits comment.
+       (PREDICATE_CODES): Remove duplicate.
+       * config/rs6000/linux64.h (CPP_SYSV_SPEC): Don't define.
+       (SUBSUBTARGET_OVERRIDE_OPTIONS): Disallow 32 bit TARGET_PROFILE_KERNEL.
+       (MASK_PROFILE_KERNEL): Adjust define.
+
 2004-01-27  Jakub Jelinek  <jakub@redhat.com>
 
        * config/i386/i386.c (ix86_constant_alignment): Decrease alignment
index 560795e1d75a5ccbe8e7376a7fec6e9cee01a006..6bb60d39b13bd321930f7daf15de5b2d77eaf148 100644 (file)
        {                                                       \
          if (!RS6000_BI_ARCH_P)                                \
            error (INVALID_32BIT, "32");                        \
+         if (TARGET_PROFILE_KERNEL)                            \
+           {                                                   \
+             target_flags &= ~MASK_PROFILE_KERNEL;             \
+             error (INVALID_32BIT, "profile-kernel");          \
+           }                                                   \
        }                                                       \
     }                                                          \
   while (0)
 
 #endif
 
-#define        MASK_PROFILE_KERNEL     0x00080000
+#define        MASK_PROFILE_KERNEL     0x00100000
 
 /* Non-standard profiling for kernels, which just saves LR then calls
    _mcount without worrying about arg saves.  The idea is to change
 #undef MD_EXEC_PREFIX
 #undef MD_STARTFILE_PREFIX
 
-/* Override sysv4.h  */
-#undef CPP_SYSV_SPEC
-#define        CPP_SYSV_SPEC ""
-
 #undef  TARGET_OS_CPP_BUILTINS
 #define TARGET_OS_CPP_BUILTINS()                       \
   do                                                   \
index 3d791a5bfb73d87dc5548496ab2762f0ab925355..4d83416d548488bb51fae719c99f37c52affe837 100644 (file)
@@ -193,9 +193,9 @@ extern int target_flags;
 /* Use single field mfcr instruction.  */
 #define MASK_MFCRF             0x00080000
 
-/* The only remaining free bits are 0x00700000. sysv4.h uses
-   0x00800000 -> 0x40000000, and 0x80000000 is not available
-   because target_flags is signed.  */
+/* The only remaining free bits are 0x00600000.  linux64.h uses
+   0x00100000, and sysv4.h uses 0x00800000 -> 0x40000000.
+   0x80000000 is not available because target_flags is signed.  */
 
 #define TARGET_POWER           (target_flags & MASK_POWER)
 #define TARGET_POWER2          (target_flags & MASK_POWER2)
@@ -2653,7 +2653,6 @@ extern char rs6000_reg_names[][8];        /* register names (0 vs. %r0).  */
   {"reg_or_logical_cint_operand", {SUBREG, REG, CONST_INT, CONST_DOUBLE}}, \
   {"got_operand", {SYMBOL_REF, CONST, LABEL_REF}},                        \
   {"got_no_const_operand", {SYMBOL_REF, LABEL_REF}},                      \
-  {"rs6000_tls_symbol_ref", {SYMBOL_REF}},                                \
   {"easy_fp_constant", {CONST_DOUBLE}},                                           \
   {"easy_vector_constant", {CONST_VECTOR}},                               \
   {"easy_vector_constant_add_self", {CONST_VECTOR}},                      \
This page took 0.079085 seconds and 5 git commands to generate.