diff options
author | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-18 03:22:18 +0000 |
---|---|---|
committer | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-18 03:22:18 +0000 |
commit | 7c19e2404d9f72ec706a3fc337cec9bfc4f89243 (patch) | |
tree | f9fc68c5b5010a61963d607596bf9c5d5c165fe0 /gcc/config.gcc | |
parent | b0988db1ce0bd087acc04cefd80c6271ac1e441e (diff) | |
download | gcc-7c19e2404d9f72ec706a3fc337cec9bfc4f89243.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107157 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 21c6dab8cd9..c0867e1e91c 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -900,6 +900,9 @@ hppa[12]*-*-hpux10*) tmake_file="${tmake_file} pa/t-dce-thr" ;; esac + if test x$sjlj != x1; then + tmake_file="$tmake_file pa/t-slibgcc-elf-ver" + fi use_collect2=yes use_fixproto=yes ;; @@ -932,6 +935,9 @@ hppa*64*-*-hpux11*) pa/pa-hpux1010.opt pa/pa64-hpux.opt" need_64bit_hwint=yes tmake_file="pa/t-pa64 pa/t-pa-hpux pa/t-hpux-shlib" + if test x$sjlj != x1; then + tmake_file="$tmake_file pa/t-slibgcc-elf-ver" + fi extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o" case x${enable_threads} in xyes | xposix ) @@ -955,6 +961,9 @@ hppa[12]*-*-hpux11*) ;; esac tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib" + if test x$sjlj != x1; then + tmake_file="$tmake_file pa/t-slibgcc-elf-ver" + fi case x${enable_threads} in xyes | xposix ) thread_file=posix |