summaryrefslogtreecommitdiff
path: root/gcc/config/pa/pa.c
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/pa.c
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/pa.c')
-rw-r--r--gcc/config/pa/pa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index 2f16c6f085f..c7d828e4cce 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -4552,8 +4552,8 @@ output_arg_descriptor (call_insn)
int regno;
/* We neither need nor want argument location descriptors for the
- 64bit runtime environment. */
- if (TARGET_64BIT)
+ 64bit runtime environment or the ELF32 environment. */
+ if (TARGET_64BIT || TARGET_ELF32)
return;
for (i = 0; i < 4; i++)
@@ -7057,7 +7057,7 @@ function_arg (cum, mode, type, named, incoming)
}
/* Determine if the register needs to be passed in both general and
floating point registers. */
- if ((TARGET_PORTABLE_RUNTIME || TARGET_64BIT)
+ if ((TARGET_PORTABLE_RUNTIME || TARGET_64BIT || TARGET_ELF32)
/* If we are doing soft-float with portable runtime, then there
is no need to worry about FP regs. */
&& ! TARGET_SOFT_FLOAT