summaryrefslogtreecommitdiff
path: root/gcc/config/pa/pa32-regs.h
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-13 05:12:12 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-13 05:12:12 +0000
commit5d0619cc4aead986690edc5b3cc17a502c6f9a59 (patch)
tree9ca4e20dd11d28df4fdfc41817b2c07ef6ce0a41 /gcc/config/pa/pa32-regs.h
parent2f33fae1edf63cd4e11b4196b0eebad1dcafbeb2 (diff)
downloadgcc-5d0619cc4aead986690edc5b3cc17a502c6f9a59.tar.gz
* elfos.h (SELECT_SECTION): Undef before defining.
* pa-linux.h (LINUX_DEFAULT_ELF, PTRDIFF_TYPE, CPP_SPEC): Remove. (LIB_SPEC): Remove -lmilli. (DBX_REGISTER_NUMBER): Remove. (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO, (DWARF2_UNWIND_INFO, ASM_SPEC, LINK_SPEC, FUNCTION_OK_FOR_SIBCALL, NO_PROFILE_COUNTERS, SELECT_RTX_SECTION, INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_RETURN_COLUMN, STRING_ASM_OP, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_FILE_START, ASM_OUTPUT_DEF, ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, ASM_OUTPUT_LABEL, ASM_GLOBALIZE_LABEL, ASM_DECLARE_FUNCTION_NAME, TARGET_GAS): Define. * pa.c (output_arg_descriptor): Disable for TARGET_ELF32. (function_arg): If TARGET_ELF32, pass fp args in both general and fp regs if we don't have a prototype. * pa.md (canonicalize_funcptr_for_compare): Not for TARGET_ELF32. * pa.h (TARGET_ELF32): Default to 0 if undefined. (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): Define. * pa32-regs.h (DBX_REGISTER_NUMBER): Remove unnecessary test. (DWARF_FRAME_REGNUM): Define. * pa64-regs.h (DWARF_FRAME_REGNUM): Define. * pa32-linux.h: New file. * pa64-linux.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41322 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/pa/pa32-regs.h')
-rw-r--r--gcc/config/pa/pa32-regs.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/config/pa/pa32-regs.h b/gcc/config/pa/pa32-regs.h
index 145a90e42a1..206acf15af2 100644
--- a/gcc/config/pa/pa32-regs.h
+++ b/gcc/config/pa/pa32-regs.h
@@ -186,7 +186,12 @@
#define DBX_REGISTER_NUMBER(REGNO) \
((REGNO) <= 31 ? (REGNO) : \
- ((REGNO) > 31 && (REGNO) <= 87 ? (REGNO) + 40 : 32))
+ ((REGNO) <= 87 ? (REGNO) + 40 : 32))
+
+/* We must not use the DBX register numbers for the DWARF 2 CFA column
+ numbers because that maps to numbers beyond FIRST_PSEUDO_REGISTER.
+ Instead use the identity mapping. */
+#define DWARF_FRAME_REGNUM(REG) REG
/* Define the classes of registers for register constraints in the
machine description. Also define ranges of constants.