aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2005-11-18 03:22:18 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2005-11-18 03:22:18 +0000
commit9fb1c9dbc86c1c6aacbb99cb312c006251b9cd65 (patch)
treef9fc68c5b5010a61963d607596bf9c5d5c165fe0 /gcc/config.gcc
parentff2d10c1e49a8936763ea7bfa2ee335f4b797298 (diff)
downloadgcc-9fb1c9dbc86c1c6aacbb99cb312c006251b9cd65.zip
gcc-9fb1c9dbc86c1c6aacbb99cb312c006251b9cd65.tar.gz
gcc-9fb1c9dbc86c1c6aacbb99cb312c006251b9cd65.tar.bz2
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.gcc')
-rw-r--r--gcc/config.gcc9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 21c6dab..c0867e1 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