linux.h (DBX_REGISTER_NUMBER): Delete.

* 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
This commit is contained in:
Eric Botcazou 2009-01-24 20:49:41 +00:00 committed by Eric Botcazou
parent 8c6843007d
commit 863412d681
4 changed files with 6 additions and 24 deletions

View 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

View 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 { \

View 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 { \

View 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