binutils on powerpc now ignores --gc-sections. Remove the local patch

to avoid using it on powerpc from Mesa.

Tested by matthieu@ on macppc.
This commit is contained in:
jsg 2016-10-23 06:16:03 +00:00
parent 9cb17b0e3b
commit 46fe26bc0b
2 changed files with 0 additions and 21 deletions

9
lib/mesa/configure vendored
View File

@ -19727,15 +19727,6 @@ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LDFLAGS=$save_LDFLAGS
case "$host_os" in
openbsd*)
case "$host_cpu" in
powerpc*)
GC_SECTIONS="" ;;
esac
;;
esac
case "$host_os" in

View File

@ -547,18 +547,6 @@ AC_LINK_IFELSE(
GC_SECTIONS="";])
LDFLAGS=$save_LDFLAGS
dnl
dnl --gc-sections causes ld 2.17 to segfault on ppc
dnl
case "$host_os" in
openbsd*)
case "$host_cpu" in
powerpc*)
GC_SECTIONS="" ;;
esac
;;
esac
AC_SUBST([GC_SECTIONS])
dnl