57 lines
2.1 KiB
Text
57 lines
2.1 KiB
Text
Index: gcc/configure
|
|
--- gcc/configure.orig
|
|
+++ gcc/configure
|
|
@@ -18814,7 +18814,7 @@ openbsd*)
|
|
*) need_version=no ;;
|
|
esac
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
+ #finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
case $host_os in
|
|
@@ -22469,7 +22469,7 @@ openbsd*)
|
|
*) need_version=no ;;
|
|
esac
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
+ #finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
case $host_os in
|
|
@@ -30415,7 +30415,7 @@ $as_echo "#define HAVE_LD_PPC_GNU_ATTR_LONG_DOUBLE 1"
|
|
esac
|
|
|
|
case "$target:$tm_file" in
|
|
- powerpc64-*-freebsd* | powerpc64*-*-linux* | powerpc*-*-linux*rs6000/biarch64.h*)
|
|
+ powerpc64-*-freebsd* | powerpc64*-*-linux* | powerpc*-*-linux*rs6000/biarch64.h* | powerpc64*-openbsd*)
|
|
case "$target" in
|
|
*le-*-linux*)
|
|
emul_name="-melf64lppc"
|
|
@@ -30429,6 +30429,10 @@ case "$target:$tm_file" in
|
|
*-*-freebsd*)
|
|
emul_name="-melf64ppc_fbsd"
|
|
;;
|
|
+ *-*-openbsd*)
|
|
+ gcc_cv_ld_no_dot_syms=yes
|
|
+ gcc_cv_ld_large_toc=yes
|
|
+ ;;
|
|
esac
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking linker support for omitting dot symbols" >&5
|
|
$as_echo_n "checking linker support for omitting dot symbols... " >&6; }
|
|
@@ -30796,6 +30800,7 @@ else
|
|
fi
|
|
|
|
;;
|
|
+ *-*-openbsd*) gcc_cv_libc_provides_ssp=yes ;;
|
|
*) gcc_cv_libc_provides_ssp=no ;;
|
|
esac
|
|
fi
|
|
@@ -30816,6 +30821,7 @@ if test "${enable_default_ssp+set}" = set; then :
|
|
if test x$gcc_cv_libc_provides_ssp = xyes; then
|
|
case "$target" in
|
|
ia64*-*-*) enable_default_ssp=no ;;
|
|
+ hppa*-*-*) enable_default_ssp=no ;;
|
|
*) enable_default_ssp=$enableval ;;
|
|
esac
|
|
else
|