rs6000.h (PRE_GCC3_DWARF_FRAME_REGISTERS): New.
authorAldy Hernandez <aldyh@redhat.com>
Fri, 7 Dec 2001 03:03:43 +0000 (03:03 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Fri, 7 Dec 2001 03:03:43 +0000 (03:03 +0000)
2001-12-06  Aldy Hernandez  <aldyh@redhat.com>

* rs6000.h (PRE_GCC3_DWARF_FRAME_REGISTERS): New.
        (DWARF_FRAME_REGISTERS): Delete.

From-SVN: r47744

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

index 809c585..f9d015f 100644 (file)
@@ -1,3 +1,8 @@
+2001-12-06  Aldy Hernandez  <aldyh@redhat.com>
+
+       * rs6000.h (PRE_GCC3_DWARF_FRAME_REGISTERS): New.
+        (DWARF_FRAME_REGISTERS): Delete.
+
 2001-12-06  Janis Johnson  <janis187@us.ibm.com>
 
        * builtin-types.def (BT_FN_VOID_PTR_VAR): New.
index 50137ee..9ad978e 100644 (file)
@@ -700,11 +700,8 @@ extern int rs6000_altivec_abi;
 
 #define FIRST_PSEUDO_REGISTER 110
 
-/* This must not decrease, for backwards compatibility.  If
-   FIRST_PSEUDO_REGISTER increases, this should as well.  */
-/* fixme: this needs to be defined to "TARGET_ALTIVEC_ABI ? 110 : 77"
-   and then fix usages of DWARF_FRAME_REGISTERS to work.  */
-#define DWARF_FRAME_REGISTERS 77
+/* This must be included for pre gcc 3.0 glibc compatability.  */
+#define PRE_GCC3_DWARF_FRAME_REGISTERS 77
 
 /* 1 for registers that have pervasive standard uses
    and are not available for the register allocator.