linux.h (DBX_REGISTER_NUMBER): Delete.
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 24 Jan 2009 20:49:41 +0000 (20:49 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 24 Jan 2009 20:49:41 +0000 (20:49 +0000)
* config/sparc/linux.h (DBX_REGISTER_NUMBER): Delete.
* config/sparc/linux64.h (DBX_REGISTER_NUMBER): Likewise.
* config/sparc/sysv4.h (DBX_REGISTER_NUMBER): Likewise.

From-SVN: r143649

gcc/ChangeLog
gcc/config/sparc/linux.h
gcc/config/sparc/linux64.h
gcc/config/sparc/sysv4.h

index 65d4f0f..66922ea 100644 (file)
@@ -1,3 +1,9 @@
+2009-01-24  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * config/sparc/linux.h (DBX_REGISTER_NUMBER): Delete.
+       * config/sparc/linux64.h (DBX_REGISTER_NUMBER): Likewise.
+       * config/sparc/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
+
 2009-01-24  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR c/38938
index 9014ae5..4d8db56 100644 (file)
@@ -102,10 +102,6 @@ along with GCC; see the file COPYING3.  If not see
   "%{V} %{v:%{!V:-V}} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Wa,*:%*} -s \
    %{fpic|fPIC|fpie|fPIE:-K PIC} %(asm_cpu) %(asm_relax)"
 
-/* Same as sparc.h */
-#undef DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(REGNO) (REGNO)
-
 #undef ASM_OUTPUT_ALIGNED_LOCAL
 #define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGN)              \
 do {                                                                   \
index 4971048..8155c1a 100644 (file)
@@ -239,10 +239,6 @@ along with GCC; see the file COPYING3.  If not see
 %{mlittle-endian:-EL} \
 %(asm_cpu) %(asm_arch) %(asm_relax)"
 
-/* Same as sparc.h */
-#undef DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(REGNO) (REGNO)
-
 #undef ASM_OUTPUT_ALIGNED_LOCAL
 #define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGN)              \
 do {                                                                   \
index 586c239..1c60deb 100644 (file)
@@ -93,22 +93,6 @@ do { ASM_OUTPUT_ALIGN ((FILE), Pmode == SImode ? 2 : 3);             \
        fprintf (FILE, "\n");                                           \
   } while (0)
 
-/* Define how the SPARC registers should be numbered for Dwarf output.
-   The numbering provided here should be compatible with the native
-   svr4 SDB debugger in the SPARC/svr4 reference port.  The numbering
-   is as follows:
-
-   Assembly name       gcc internal regno      Dwarf regno
-   ----------------------------------------------------------
-   g0-g7               0-7                     0-7
-   o0-o7               8-15                    8-15
-   l0-l7               16-23                   16-23
-   i0-i7               24-31                   24-31
-   f0-f31              32-63                   40-71
-*/
-
-#define DBX_REGISTER_NUMBER(REGNO) ((REGNO) < 32 ? (REGNO) : (REGNO) + 8)
-
 /* A set of symbol definitions for assembly pseudo-ops which will
    get us switched to various sections of interest.  These are used
    in all places where we simply want to switch to a section, and