3c23183a62
- add some fixes for hppa, though it still isn't ready for prime time yet. Chances are it will only work with -O1, pending testing. Many optimisations lead to broken code and segfaults on hppa. Joint work with jsg@. - fix libstdc++ upgrade path - bring in recent fixes for execinfo/magic.h from 4.6 ok espie@
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
$OpenBSD: patch-libgcc_config_host,v 1.2 2012/07/01 18:56:45 pascal Exp $
|
|
--- libgcc/config.host.orig Mon Apr 30 19:39:57 2012
|
|
+++ libgcc/config.host Sun Jun 24 13:15:31 2012
|
|
@@ -471,6 +471,9 @@ hppa*-*-linux*)
|
|
fi
|
|
md_unwind_header=pa/linux-unwind.h
|
|
;;
|
|
+hppa-*-openbsd*)
|
|
+ tmake_file="$tmake_file pa/t-openbsd"
|
|
+ ;;
|
|
hppa[12]*-*-hpux10*)
|
|
tmake_file="$tmake_file pa/t-hpux pa/t-hpux10 t-libgcc-pic t-slibgcc"
|
|
# Set the libgcc version number
|
|
@@ -537,7 +540,11 @@ x86_64-*-netbsd*)
|
|
i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123])
|
|
;;
|
|
i[34567]86-*-openbsd*)
|
|
+ tmake_file="${tmake_file} i386/t-crtstuff"
|
|
;;
|
|
+x86_64-*-openbsd*)
|
|
+ tmake_file="${tmake_file} i386/t-crtstuff"
|
|
+ ;;
|
|
i[34567]86-*-linux*)
|
|
extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
|
|
tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
|
|
@@ -858,6 +865,9 @@ powerpc*-*-freebsd*)
|
|
;;
|
|
powerpc-*-netbsd*)
|
|
tmake_file="$tmake_file rs6000/t-netbsd rs6000/t-crtstuff"
|
|
+ ;;
|
|
+powerpc-*-openbsd*)
|
|
+ tmake_file="$tmake_file rs6000/t-crtstuff"
|
|
;;
|
|
powerpc-*-eabispe*)
|
|
tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic"
|