]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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 65d4f0fcbdc27dd8ed73786637fb1b8a9091d6bb..66922ea3d7062b283f8e17f50fa0dfe9842e92b1 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 9014ae54ca643b297287d134c08d1844aad537cd..4d8db56518f11233a2d6da2b5edab2c9a184319b 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 4971048a31de1a4bb7bb6b6e769a1117304854d5..8155c1af8cbc08efa8258d66c9aef889272d7bdd 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 586c2399ae6a907245aee3819d7ab479bf025db2..1c60debf85064e1b3f2a8114942a765d7bf4ac17 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