]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
linux.h (DBX_REGISTER_NUMBER): Delete.
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 24 Jan 2009 20:50:02 +0000 (20:50 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 24 Jan 2009 20:50:02 +0000 (20:50 +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: r143651

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

index f87645da149c9c010c5d2a8db167b7a099cbfd03..93dfd9c7d8389ec0802b75c1c30af1de7a065b4c 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-20  Joseph Myers  <joseph@codesourcery.com>
 
        PR other/38758
index 343f1422898f62875fb61989749d3ac80f5bb121..aae07fbb28e359a26f1d2f46be17895fd7a5ad6b 100644 (file)
@@ -148,10 +148,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 4dffc9721cf6778124b0851e25853efa8e37b0b9..4562b884dae847c907da7d63e2fd57982c20b15f 100644 (file)
@@ -284,10 +284,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 54e9a9f3f385e29a10deff793435b80ec724e5fa..1359272d96061acfbc7f87f844116745762448ec 100644 (file)
@@ -100,22 +100,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