diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2005-11-18 03:22:18 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2005-11-18 03:22:18 +0000 |
commit | 9fb1c9dbc86c1c6aacbb99cb312c006251b9cd65 (patch) | |
tree | f9fc68c5b5010a61963d607596bf9c5d5c165fe0 /gcc/config/pa/pa-linux.h | |
parent | ff2d10c1e49a8936763ea7bfa2ee335f4b797298 (diff) | |
download | gcc-9fb1c9dbc86c1c6aacbb99cb312c006251b9cd65.tar.gz |
re PR target/24348 (bootstrap failure building libgcc)
PR target/24348
* config.gcc (hppa*-*-hpux*): Add pa/t-slibgcc-elf-ver to tmake config
when not using sjlj exceptions.
* config/pa/pa64-hpux.h (LIB_SPEC): Add -lpthread in static links.
* config/pa/pa-hpux11.h (LIB_SPEC): Likewise.
* config/pa/som.h (ASM_PREFERRED_EH_DATA_FORMAT): Delete define.
* config/pa/linux-unwind.h (pa32_fallback_frame_state): Use
DWARF_ALT_FRAME_RETURN_COLUMN instead of column 0 as return column.
* config/pa/pa-hpux.h (MD_UNWIND_SUPPORT): New define.
* config/pa/pa-linux.h (INCOMING_RETURN_ADDR_RTX,
DWARF_FRAME_RETURN_COLUMN, ASM_PREFERRED_EH_DATA_FORMAT,
ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Delete defines.
* config/pa/pa.h (ARG_POINTER_CFA_OFFSET): Delete.
(FRAME_POINTER_CFA_OFFSET, INCOMING_RETURN_ADDR_RTX,
DWARF_FRAME_RETURN_COLUMN, DWARF_ALT_FRAME_RETURN_COLUMN,
ASM_PREFERRED_EH_DATA_FORMAT, ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New
defines.
* config/pa/hpux-unwind.h: New file.
* testsuite/gcc.dg/cleanup-8.c: Enable test on hppa*-*-hpux*.
* testsuite/gcc.dg/cleanup-9.c: Likewise.
* testsuite/gcc.dg/cleanup-10.c: Likewise.
* testsuite/gcc.dg/cleanup-11.c: Likewise.
From-SVN: r107157
Diffstat (limited to 'gcc/config/pa/pa-linux.h')
-rw-r--r-- | gcc/config/pa/pa-linux.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/gcc/config/pa/pa-linux.h b/gcc/config/pa/pa-linux.h index 4115577dc62..fcbcebdb949 100644 --- a/gcc/config/pa/pa-linux.h +++ b/gcc/config/pa/pa-linux.h @@ -19,39 +19,6 @@ the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -/* A C expression whose value is RTL representing the location of the - incoming return address at the beginning of any function, before the - prologue. You only need to define this macro if you want to support - call frame debugging information like that provided by DWARF 2. */ -#define INCOMING_RETURN_ADDR_RTX (gen_rtx_REG (word_mode, 2)) -#define DWARF_FRAME_RETURN_COLUMN (DWARF_FRAME_REGNUM (2)) - -/* This macro chooses the encoding of pointers embedded in the exception - handling sections. If at all possible, this should be defined such - that the exception handling section will not require dynamic relocations, - and so may be read-only. - - FIXME: We use DW_EH_PE_aligned to output a PLABEL constructor for - global function pointers. */ -#define ASM_PREFERRED_EH_DATA_FORMAT(CODE,GLOBAL) \ - (CODE == 2 && GLOBAL ? DW_EH_PE_aligned : DW_EH_PE_absptr) - -/* Handle special EH pointer encodings. Absolute, pc-relative, and - indirect are handled automatically. Since pc-relative encoding is - not possible on the PA and we don't have the infrastructure for - data relative encoding, we use aligned plabels for global function - pointers. */ -#define ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX(FILE, ENCODING, SIZE, ADDR, DONE) \ - do { \ - if (((ENCODING) & 0x0F) == DW_EH_PE_aligned) \ - { \ - fputs (integer_asm_op (SIZE, FALSE), FILE); \ - fputs ("P%", FILE); \ - assemble_name (FILE, XSTR (ADDR, 0)); \ - goto DONE; \ - } \ - } while (0) - #undef TARGET_OS_CPP_BUILTINS #define TARGET_OS_CPP_BUILTINS() \ do \ |