2.17.50.0.18-1
This commit is contained in:
parent
1d52dc8aed
commit
900278a0eb
@ -1 +1 @@
|
||||
binutils-2.17.50.0.17.tar.bz2
|
||||
binutils-2.17.50.0.18.tar.bz2
|
||||
|
@ -1,14 +0,0 @@
|
||||
2007-07-24 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* scripttempl/elf.sc: Add .note.gnu.build-id.
|
||||
|
||||
--- ld/scripttempl/elf.sc.jj 2007-07-24 10:07:02.000000000 +0200
|
||||
+++ ld/scripttempl/elf.sc 2007-07-24 21:44:35.000000000 +0200
|
||||
@@ -267,6 +267,7 @@ SECTIONS
|
||||
${CREATE_SHLIB+${RELOCATING+. = ${SHLIB_TEXT_START_ADDR:-0} + SIZEOF_HEADERS;}}
|
||||
${CREATE_PIE+${RELOCATING+. = ${SHLIB_TEXT_START_ADDR:-0} + SIZEOF_HEADERS;}}
|
||||
${INITIAL_READONLY_SECTIONS}
|
||||
+ .note.gnu.build-id : { *(.note.gnu.build-id) }
|
||||
${TEXT_DYNAMIC+${DYNAMIC}}
|
||||
.hash ${RELOCATING-0} : { *(.hash) }
|
||||
.gnu.hash ${RELOCATING-0} : { *(.gnu.hash) }
|
File diff suppressed because it is too large
Load Diff
@ -1,718 +0,0 @@
|
||||
--- binutils/configure.jj 2007-06-18 13:29:28.000000000 -0400
|
||||
+++ binutils/configure 2007-06-27 13:55:07.000000000 -0400
|
||||
@@ -8990,10 +8990,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
+ # find out which ABI we are using
|
||||
+ libsuff=
|
||||
+ case "$host_cpu" in
|
||||
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
+ (eval $ac_compile) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; then
|
||||
+ case `/usr/bin/file conftest.$ac_objext` in
|
||||
+ *64-bit*)
|
||||
+ libsuff=64
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ fi
|
||||
+ rm -rf conftest*
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
--- binutils/aclocal.m4.jj 2007-06-18 13:29:28.000000000 -0400
|
||||
+++ binutils/aclocal.m4 2007-06-27 13:55:07.000000000 -0400
|
||||
@@ -1206,16 +1206,49 @@ version_type=none
|
||||
dynamic_linker="$host_os ld.so"
|
||||
sys_lib_dlsearch_path_spec="/lib /usr/lib"
|
||||
if test "$GCC" = yes; then
|
||||
- sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
|
||||
- if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
|
||||
+ lt_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
|
||||
+ if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
|
||||
# if the path contains ";" then we assume it to be the separator
|
||||
# otherwise default to the standard path separator (i.e. ":") - it is
|
||||
# assumed that no part of a normal pathname contains ";" but that should
|
||||
# okay in the real world where ";" in dirpaths is itself problematic.
|
||||
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
|
||||
+ lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
|
||||
else
|
||||
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
||||
+ lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
||||
fi
|
||||
+ # Ok, now we have the path, separated by spaces, we can step through it
|
||||
+ # and add multilib dir if necessary.
|
||||
+ lt_tmp_lt_search_path_spec=
|
||||
+ lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
|
||||
+ for lt_sys_path in $lt_search_path_spec; do
|
||||
+ if test -d "$lt_sys_path/$lt_multi_os_dir"; then
|
||||
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
|
||||
+ else
|
||||
+ test -d "$lt_sys_path" && \
|
||||
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
|
||||
+ fi
|
||||
+ done
|
||||
+ lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
|
||||
+BEGIN {RS=" "; FS="/|\n";} {
|
||||
+ lt_foo="";
|
||||
+ lt_count=0;
|
||||
+ for (lt_i = NF; lt_i > 0; lt_i--) {
|
||||
+ if ($lt_i != "" && $lt_i != ".") {
|
||||
+ if ($lt_i == "..") {
|
||||
+ lt_count++;
|
||||
+ } else {
|
||||
+ if (lt_count == 0) {
|
||||
+ lt_foo="/" $lt_i lt_foo;
|
||||
+ } else {
|
||||
+ lt_count--;
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ if (lt_foo != "") { lt_freq[[lt_foo]]++; }
|
||||
+ if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
|
||||
+}'`
|
||||
+ sys_lib_search_path_spec=`echo $lt_search_path_spec`
|
||||
else
|
||||
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
|
||||
fi
|
||||
@@ -1581,13 +1614,16 @@ linux*)
|
||||
# find out which ABI we are using
|
||||
libsuff=
|
||||
case "$host_cpu" in
|
||||
- x86_64*|s390x*|powerpc64*)
|
||||
- echo '[#]line __oline__ "configure"' > conftest.$ac_ext
|
||||
+ x86_64*|s390*|powerpc64*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
if AC_TRY_EVAL(ac_compile); then
|
||||
case `/usr/bin/file conftest.$ac_objext` in
|
||||
*64-bit*)
|
||||
libsuff=64
|
||||
- sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
--- opcodes/configure.jj 2007-06-18 13:29:29.000000000 -0400
|
||||
+++ opcodes/configure 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -8420,10 +8420,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
+ # find out which ABI we are using
|
||||
+ libsuff=
|
||||
+ case "$host_cpu" in
|
||||
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
+ (eval $ac_compile) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; then
|
||||
+ case `/usr/bin/file conftest.$ac_objext` in
|
||||
+ *64-bit*)
|
||||
+ libsuff=64
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ fi
|
||||
+ rm -rf conftest*
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
--- opcodes/aclocal.m4.jj 2007-06-18 13:29:29.000000000 -0400
|
||||
+++ opcodes/aclocal.m4 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -1206,16 +1206,49 @@ version_type=none
|
||||
dynamic_linker="$host_os ld.so"
|
||||
sys_lib_dlsearch_path_spec="/lib /usr/lib"
|
||||
if test "$GCC" = yes; then
|
||||
- sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
|
||||
- if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
|
||||
+ lt_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
|
||||
+ if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
|
||||
# if the path contains ";" then we assume it to be the separator
|
||||
# otherwise default to the standard path separator (i.e. ":") - it is
|
||||
# assumed that no part of a normal pathname contains ";" but that should
|
||||
# okay in the real world where ";" in dirpaths is itself problematic.
|
||||
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
|
||||
+ lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
|
||||
else
|
||||
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
||||
+ lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
||||
fi
|
||||
+ # Ok, now we have the path, separated by spaces, we can step through it
|
||||
+ # and add multilib dir if necessary.
|
||||
+ lt_tmp_lt_search_path_spec=
|
||||
+ lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
|
||||
+ for lt_sys_path in $lt_search_path_spec; do
|
||||
+ if test -d "$lt_sys_path/$lt_multi_os_dir"; then
|
||||
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
|
||||
+ else
|
||||
+ test -d "$lt_sys_path" && \
|
||||
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
|
||||
+ fi
|
||||
+ done
|
||||
+ lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
|
||||
+BEGIN {RS=" "; FS="/|\n";} {
|
||||
+ lt_foo="";
|
||||
+ lt_count=0;
|
||||
+ for (lt_i = NF; lt_i > 0; lt_i--) {
|
||||
+ if ($lt_i != "" && $lt_i != ".") {
|
||||
+ if ($lt_i == "..") {
|
||||
+ lt_count++;
|
||||
+ } else {
|
||||
+ if (lt_count == 0) {
|
||||
+ lt_foo="/" $lt_i lt_foo;
|
||||
+ } else {
|
||||
+ lt_count--;
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ if (lt_foo != "") { lt_freq[[lt_foo]]++; }
|
||||
+ if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
|
||||
+}'`
|
||||
+ sys_lib_search_path_spec=`echo $lt_search_path_spec`
|
||||
else
|
||||
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
|
||||
fi
|
||||
@@ -1581,13 +1614,16 @@ linux*)
|
||||
# find out which ABI we are using
|
||||
libsuff=
|
||||
case "$host_cpu" in
|
||||
- x86_64*|s390x*|powerpc64*)
|
||||
- echo '[#]line __oline__ "configure"' > conftest.$ac_ext
|
||||
+ x86_64*|s390*|powerpc64*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
if AC_TRY_EVAL(ac_compile); then
|
||||
case `/usr/bin/file conftest.$ac_objext` in
|
||||
*64-bit*)
|
||||
libsuff=64
|
||||
- sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
--- gprof/configure.jj 2007-06-18 13:29:29.000000000 -0400
|
||||
+++ gprof/configure 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -8250,10 +8250,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
+ # find out which ABI we are using
|
||||
+ libsuff=
|
||||
+ case "$host_cpu" in
|
||||
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
+ (eval $ac_compile) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; then
|
||||
+ case `/usr/bin/file conftest.$ac_objext` in
|
||||
+ *64-bit*)
|
||||
+ libsuff=64
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ fi
|
||||
+ rm -rf conftest*
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
--- gprof/aclocal.m4.jj 2007-06-18 13:29:29.000000000 -0400
|
||||
+++ gprof/aclocal.m4 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -1206,16 +1206,49 @@ version_type=none
|
||||
dynamic_linker="$host_os ld.so"
|
||||
sys_lib_dlsearch_path_spec="/lib /usr/lib"
|
||||
if test "$GCC" = yes; then
|
||||
- sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
|
||||
- if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
|
||||
+ lt_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
|
||||
+ if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
|
||||
# if the path contains ";" then we assume it to be the separator
|
||||
# otherwise default to the standard path separator (i.e. ":") - it is
|
||||
# assumed that no part of a normal pathname contains ";" but that should
|
||||
# okay in the real world where ";" in dirpaths is itself problematic.
|
||||
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
|
||||
+ lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
|
||||
else
|
||||
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
||||
+ lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
||||
fi
|
||||
+ # Ok, now we have the path, separated by spaces, we can step through it
|
||||
+ # and add multilib dir if necessary.
|
||||
+ lt_tmp_lt_search_path_spec=
|
||||
+ lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
|
||||
+ for lt_sys_path in $lt_search_path_spec; do
|
||||
+ if test -d "$lt_sys_path/$lt_multi_os_dir"; then
|
||||
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
|
||||
+ else
|
||||
+ test -d "$lt_sys_path" && \
|
||||
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
|
||||
+ fi
|
||||
+ done
|
||||
+ lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
|
||||
+BEGIN {RS=" "; FS="/|\n";} {
|
||||
+ lt_foo="";
|
||||
+ lt_count=0;
|
||||
+ for (lt_i = NF; lt_i > 0; lt_i--) {
|
||||
+ if ($lt_i != "" && $lt_i != ".") {
|
||||
+ if ($lt_i == "..") {
|
||||
+ lt_count++;
|
||||
+ } else {
|
||||
+ if (lt_count == 0) {
|
||||
+ lt_foo="/" $lt_i lt_foo;
|
||||
+ } else {
|
||||
+ lt_count--;
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ if (lt_foo != "") { lt_freq[[lt_foo]]++; }
|
||||
+ if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
|
||||
+}'`
|
||||
+ sys_lib_search_path_spec=`echo $lt_search_path_spec`
|
||||
else
|
||||
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
|
||||
fi
|
||||
@@ -1581,13 +1614,16 @@ linux*)
|
||||
# find out which ABI we are using
|
||||
libsuff=
|
||||
case "$host_cpu" in
|
||||
- x86_64*|s390x*|powerpc64*)
|
||||
- echo '[#]line __oline__ "configure"' > conftest.$ac_ext
|
||||
+ x86_64*|s390*|powerpc64*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
if AC_TRY_EVAL(ac_compile); then
|
||||
case `/usr/bin/file conftest.$ac_objext` in
|
||||
*64-bit*)
|
||||
libsuff=64
|
||||
- sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
--- ld/configure.jj 2007-06-18 13:29:29.000000000 -0400
|
||||
+++ ld/configure 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -8253,10 +8253,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
+ # find out which ABI we are using
|
||||
+ libsuff=
|
||||
+ case "$host_cpu" in
|
||||
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
+ (eval $ac_compile) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; then
|
||||
+ case `/usr/bin/file conftest.$ac_objext` in
|
||||
+ *64-bit*)
|
||||
+ libsuff=64
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ fi
|
||||
+ rm -rf conftest*
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
--- ld/aclocal.m4.jj 2007-06-18 13:29:29.000000000 -0400
|
||||
+++ ld/aclocal.m4 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -1206,16 +1206,49 @@ version_type=none
|
||||
dynamic_linker="$host_os ld.so"
|
||||
sys_lib_dlsearch_path_spec="/lib /usr/lib"
|
||||
if test "$GCC" = yes; then
|
||||
- sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
|
||||
- if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
|
||||
+ lt_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
|
||||
+ if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
|
||||
# if the path contains ";" then we assume it to be the separator
|
||||
# otherwise default to the standard path separator (i.e. ":") - it is
|
||||
# assumed that no part of a normal pathname contains ";" but that should
|
||||
# okay in the real world where ";" in dirpaths is itself problematic.
|
||||
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
|
||||
+ lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
|
||||
else
|
||||
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
||||
+ lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
||||
fi
|
||||
+ # Ok, now we have the path, separated by spaces, we can step through it
|
||||
+ # and add multilib dir if necessary.
|
||||
+ lt_tmp_lt_search_path_spec=
|
||||
+ lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
|
||||
+ for lt_sys_path in $lt_search_path_spec; do
|
||||
+ if test -d "$lt_sys_path/$lt_multi_os_dir"; then
|
||||
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
|
||||
+ else
|
||||
+ test -d "$lt_sys_path" && \
|
||||
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
|
||||
+ fi
|
||||
+ done
|
||||
+ lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
|
||||
+BEGIN {RS=" "; FS="/|\n";} {
|
||||
+ lt_foo="";
|
||||
+ lt_count=0;
|
||||
+ for (lt_i = NF; lt_i > 0; lt_i--) {
|
||||
+ if ($lt_i != "" && $lt_i != ".") {
|
||||
+ if ($lt_i == "..") {
|
||||
+ lt_count++;
|
||||
+ } else {
|
||||
+ if (lt_count == 0) {
|
||||
+ lt_foo="/" $lt_i lt_foo;
|
||||
+ } else {
|
||||
+ lt_count--;
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ if (lt_foo != "") { lt_freq[[lt_foo]]++; }
|
||||
+ if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
|
||||
+}'`
|
||||
+ sys_lib_search_path_spec=`echo $lt_search_path_spec`
|
||||
else
|
||||
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
|
||||
fi
|
||||
@@ -1581,13 +1614,16 @@ linux*)
|
||||
# find out which ABI we are using
|
||||
libsuff=
|
||||
case "$host_cpu" in
|
||||
- x86_64*|s390x*|powerpc64*)
|
||||
- echo '[#]line __oline__ "configure"' > conftest.$ac_ext
|
||||
+ x86_64*|s390*|powerpc64*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
if AC_TRY_EVAL(ac_compile); then
|
||||
case `/usr/bin/file conftest.$ac_objext` in
|
||||
*64-bit*)
|
||||
libsuff=64
|
||||
- sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
--- gas/configure.jj 2007-06-18 13:29:28.000000000 -0400
|
||||
+++ gas/configure 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -8252,10 +8252,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
+ # find out which ABI we are using
|
||||
+ libsuff=
|
||||
+ case "$host_cpu" in
|
||||
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
+ (eval $ac_compile) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; then
|
||||
+ case `/usr/bin/file conftest.$ac_objext` in
|
||||
+ *64-bit*)
|
||||
+ libsuff=64
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ fi
|
||||
+ rm -rf conftest*
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
--- gas/aclocal.m4.jj 2007-06-18 13:29:28.000000000 -0400
|
||||
+++ gas/aclocal.m4 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -1206,16 +1206,49 @@ version_type=none
|
||||
dynamic_linker="$host_os ld.so"
|
||||
sys_lib_dlsearch_path_spec="/lib /usr/lib"
|
||||
if test "$GCC" = yes; then
|
||||
- sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
|
||||
- if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
|
||||
+ lt_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
|
||||
+ if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
|
||||
# if the path contains ";" then we assume it to be the separator
|
||||
# otherwise default to the standard path separator (i.e. ":") - it is
|
||||
# assumed that no part of a normal pathname contains ";" but that should
|
||||
# okay in the real world where ";" in dirpaths is itself problematic.
|
||||
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
|
||||
+ lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
|
||||
else
|
||||
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
||||
+ lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
||||
fi
|
||||
+ # Ok, now we have the path, separated by spaces, we can step through it
|
||||
+ # and add multilib dir if necessary.
|
||||
+ lt_tmp_lt_search_path_spec=
|
||||
+ lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
|
||||
+ for lt_sys_path in $lt_search_path_spec; do
|
||||
+ if test -d "$lt_sys_path/$lt_multi_os_dir"; then
|
||||
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
|
||||
+ else
|
||||
+ test -d "$lt_sys_path" && \
|
||||
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
|
||||
+ fi
|
||||
+ done
|
||||
+ lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
|
||||
+BEGIN {RS=" "; FS="/|\n";} {
|
||||
+ lt_foo="";
|
||||
+ lt_count=0;
|
||||
+ for (lt_i = NF; lt_i > 0; lt_i--) {
|
||||
+ if ($lt_i != "" && $lt_i != ".") {
|
||||
+ if ($lt_i == "..") {
|
||||
+ lt_count++;
|
||||
+ } else {
|
||||
+ if (lt_count == 0) {
|
||||
+ lt_foo="/" $lt_i lt_foo;
|
||||
+ } else {
|
||||
+ lt_count--;
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ if (lt_foo != "") { lt_freq[[lt_foo]]++; }
|
||||
+ if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
|
||||
+}'`
|
||||
+ sys_lib_search_path_spec=`echo $lt_search_path_spec`
|
||||
else
|
||||
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
|
||||
fi
|
||||
@@ -1581,13 +1614,16 @@ linux*)
|
||||
# find out which ABI we are using
|
||||
libsuff=
|
||||
case "$host_cpu" in
|
||||
- x86_64*|s390x*|powerpc64*)
|
||||
- echo '[#]line __oline__ "configure"' > conftest.$ac_ext
|
||||
+ x86_64*|s390*|powerpc64*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
if AC_TRY_EVAL(ac_compile); then
|
||||
case `/usr/bin/file conftest.$ac_objext` in
|
||||
*64-bit*)
|
||||
libsuff=64
|
||||
- sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
--- bfd/configure.jj 2007-06-18 13:29:28.000000000 -0400
|
||||
+++ bfd/configure 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -9156,10 +9156,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
+ # find out which ABI we are using
|
||||
+ libsuff=
|
||||
+ case "$host_cpu" in
|
||||
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
+ (eval $ac_compile) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; then
|
||||
+ case `/usr/bin/file conftest.$ac_objext` in
|
||||
+ *64-bit*)
|
||||
+ libsuff=64
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ fi
|
||||
+ rm -rf conftest*
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
--- bfd/aclocal.m4.jj 2007-06-18 13:29:28.000000000 -0400
|
||||
+++ bfd/aclocal.m4 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -1206,16 +1206,49 @@ version_type=none
|
||||
dynamic_linker="$host_os ld.so"
|
||||
sys_lib_dlsearch_path_spec="/lib /usr/lib"
|
||||
if test "$GCC" = yes; then
|
||||
- sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
|
||||
- if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
|
||||
+ lt_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
|
||||
+ if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
|
||||
# if the path contains ";" then we assume it to be the separator
|
||||
# otherwise default to the standard path separator (i.e. ":") - it is
|
||||
# assumed that no part of a normal pathname contains ";" but that should
|
||||
# okay in the real world where ";" in dirpaths is itself problematic.
|
||||
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
|
||||
+ lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
|
||||
else
|
||||
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
||||
+ lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
||||
fi
|
||||
+ # Ok, now we have the path, separated by spaces, we can step through it
|
||||
+ # and add multilib dir if necessary.
|
||||
+ lt_tmp_lt_search_path_spec=
|
||||
+ lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
|
||||
+ for lt_sys_path in $lt_search_path_spec; do
|
||||
+ if test -d "$lt_sys_path/$lt_multi_os_dir"; then
|
||||
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
|
||||
+ else
|
||||
+ test -d "$lt_sys_path" && \
|
||||
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
|
||||
+ fi
|
||||
+ done
|
||||
+ lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
|
||||
+BEGIN {RS=" "; FS="/|\n";} {
|
||||
+ lt_foo="";
|
||||
+ lt_count=0;
|
||||
+ for (lt_i = NF; lt_i > 0; lt_i--) {
|
||||
+ if ($lt_i != "" && $lt_i != ".") {
|
||||
+ if ($lt_i == "..") {
|
||||
+ lt_count++;
|
||||
+ } else {
|
||||
+ if (lt_count == 0) {
|
||||
+ lt_foo="/" $lt_i lt_foo;
|
||||
+ } else {
|
||||
+ lt_count--;
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ if (lt_foo != "") { lt_freq[[lt_foo]]++; }
|
||||
+ if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
|
||||
+}'`
|
||||
+ sys_lib_search_path_spec=`echo $lt_search_path_spec`
|
||||
else
|
||||
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
|
||||
fi
|
||||
@@ -1581,13 +1614,16 @@ linux*)
|
||||
# find out which ABI we are using
|
||||
libsuff=
|
||||
case "$host_cpu" in
|
||||
- x86_64*|s390x*|powerpc64*)
|
||||
- echo '[#]line __oline__ "configure"' > conftest.$ac_ext
|
||||
+ x86_64*|s390*|powerpc64*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
if AC_TRY_EVAL(ac_compile); then
|
||||
case `/usr/bin/file conftest.$ac_objext` in
|
||||
*64-bit*)
|
||||
libsuff=64
|
||||
- sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
--- libtool.m4.jj 2007-06-18 13:29:28.000000000 -0400
|
||||
+++ libtool.m4 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -2337,10 +2337,30 @@ linux* | k*bsd*-gnu)
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
+ # find out which ABI we are using
|
||||
+ libsuff=
|
||||
+ case "$host_cpu" in
|
||||
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
+ if AC_TRY_EVAL(ac_compile); then
|
||||
+ case `/usr/bin/file conftest.$ac_objext` in
|
||||
+ *64-bit*)
|
||||
+ libsuff=64
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ fi
|
||||
+ rm -rf conftest*
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
@ -1,81 +0,0 @@
|
||||
2007-07-24 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* elf.c (get_program_header_size): Adjacent loadable .note*
|
||||
sections need just one PT_NOTE segment.
|
||||
(_bfd_elf_map_sections_to_segments): Likewise.
|
||||
|
||||
--- bfd/elf.c 18 Jul 2007 11:23:37 -0000 1.399
|
||||
+++ bfd/elf.c 24 Jul 2007 08:24:11 -0000
|
||||
@@ -3696,6 +3696,19 @@ get_program_header_size (bfd *abfd, stru
|
||||
{
|
||||
/* We need a PT_NOTE segment. */
|
||||
++segs;
|
||||
+ /* Try to create just one PT_NOTE segment
|
||||
+ for all adjacent loadable .note* sections.
|
||||
+ gABI requires that within a PT_NOTE segment
|
||||
+ (and also inside of each SHT_NOTE section)
|
||||
+ each note is padded to a multiple of 4 size,
|
||||
+ so we check whether the sections are correctly
|
||||
+ aligned. */
|
||||
+ if (s->alignment_power == 2)
|
||||
+ while (s->next != NULL
|
||||
+ && s->next->alignment_power == 2
|
||||
+ && (s->next->flags & SEC_LOAD) != 0
|
||||
+ && CONST_STRNEQ (s->next->name, ".note"))
|
||||
+ s = s->next;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4070,25 +4083,44 @@ _bfd_elf_map_sections_to_segments (bfd *
|
||||
pm = &m->next;
|
||||
}
|
||||
|
||||
- /* For each loadable .note section, add a PT_NOTE segment. We don't
|
||||
- use bfd_get_section_by_name, because if we link together
|
||||
- nonloadable .note sections and loadable .note sections, we will
|
||||
- generate two .note sections in the output file. FIXME: Using
|
||||
- names for section types is bogus anyhow. */
|
||||
+ /* For each batch of consecutive loadable .note sections,
|
||||
+ add a PT_NOTE segment. We don't use bfd_get_section_by_name,
|
||||
+ because if we link together nonloadable .note sections and
|
||||
+ loadable .note sections, we will generate two .note sections
|
||||
+ in the output file. FIXME: Using names for section types is
|
||||
+ bogus anyhow. */
|
||||
for (s = abfd->sections; s != NULL; s = s->next)
|
||||
{
|
||||
if ((s->flags & SEC_LOAD) != 0
|
||||
&& CONST_STRNEQ (s->name, ".note"))
|
||||
{
|
||||
+ asection *s2;
|
||||
+ unsigned count = 1;
|
||||
amt = sizeof (struct elf_segment_map);
|
||||
+ if (s->alignment_power == 2)
|
||||
+ for (s2 = s; s2->next != NULL; s2 = s2->next)
|
||||
+ if (s2->next->alignment_power == 2
|
||||
+ && (s2->next->flags & SEC_LOAD) != 0
|
||||
+ && CONST_STRNEQ (s2->next->name, ".note")
|
||||
+ && align_power (s2->vma + s2->size, 2) == s2->next->vma)
|
||||
+ count++;
|
||||
+ else
|
||||
+ break;
|
||||
+ amt += (count - 1) * sizeof (asection *);
|
||||
m = bfd_zalloc (abfd, amt);
|
||||
if (m == NULL)
|
||||
goto error_return;
|
||||
m->next = NULL;
|
||||
m->p_type = PT_NOTE;
|
||||
- m->count = 1;
|
||||
- m->sections[0] = s;
|
||||
-
|
||||
+ m->count = count;
|
||||
+ while (count > 1)
|
||||
+ {
|
||||
+ m->sections[m->count - count--] = s;
|
||||
+ BFD_ASSERT ((s->flags & SEC_THREAD_LOCAL) == 0);
|
||||
+ s = s->next;
|
||||
+ }
|
||||
+ m->sections[m->count - 1] = s;
|
||||
+ BFD_ASSERT ((s->flags & SEC_THREAD_LOCAL) == 0);
|
||||
*pm = m;
|
||||
pm = &m->next;
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
2007-06-27 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* elf32-ppc.c (ppc_elf_select_plt_layout): Properly iterate over
|
||||
input bfds.
|
||||
|
||||
--- bfd/elf32-ppc.c.jj 2007-06-18 13:31:40.000000000 -0400
|
||||
+++ bfd/elf32-ppc.c 2007-07-31 03:48:37.000000000 -0400
|
||||
@@ -3703,7 +3703,7 @@ ppc_elf_select_plt_layout (bfd *output_b
|
||||
--secure-plt and we never see REL16 relocs. */
|
||||
if (plt_type == PLT_UNSET)
|
||||
plt_type = PLT_OLD;
|
||||
- for (ibfd = info->input_bfds; ibfd; ibfd = ibfd->next)
|
||||
+ for (ibfd = info->input_bfds; ibfd; ibfd = ibfd->link_next)
|
||||
if (is_ppc_elf_target (ibfd->xvec))
|
||||
{
|
||||
if (ppc_elf_tdata (ibfd)->has_rel16)
|
100
binutils-2.17.50.0.18-bz4923.patch
Normal file
100
binutils-2.17.50.0.18-bz4923.patch
Normal file
@ -0,0 +1,100 @@
|
||||
2007-08-15 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
PR 4923
|
||||
* emultempl/elf32.em (after_open): Return immediately when
|
||||
non-ELF output.
|
||||
|
||||
--- ld/emultempl/elf32.em 29 Jul 2007 12:33:38 -0000 1.184
|
||||
+++ ld/emultempl/elf32.em 15 Aug 2007 06:03:11 -0000 1.185
|
||||
@@ -1032,6 +1032,11 @@ static void
|
||||
gld${EMULATION_NAME}_after_open (void)
|
||||
{
|
||||
struct bfd_link_needed_list *needed, *l;
|
||||
+ struct elf_link_hash_table *htab;
|
||||
+
|
||||
+ htab = elf_hash_table (&link_info);
|
||||
+ if (!is_elf_hash_table (htab))
|
||||
+ return;
|
||||
|
||||
if (link_info.emit_note_gnu_build_id)
|
||||
{
|
||||
@@ -1076,46 +1081,38 @@ gld${EMULATION_NAME}_after_open (void)
|
||||
}
|
||||
}
|
||||
|
||||
+ if (link_info.relocatable)
|
||||
+ return;
|
||||
+
|
||||
if (link_info.eh_frame_hdr
|
||||
- && ! link_info.traditional_format
|
||||
- && ! link_info.relocatable)
|
||||
+ && !link_info.traditional_format)
|
||||
{
|
||||
- struct elf_link_hash_table *htab;
|
||||
+ bfd *abfd;
|
||||
+ asection *s;
|
||||
|
||||
- htab = elf_hash_table (&link_info);
|
||||
- if (is_elf_hash_table (htab))
|
||||
+ for (abfd = link_info.input_bfds; abfd; abfd = abfd->link_next)
|
||||
{
|
||||
- bfd *abfd;
|
||||
- asection *s;
|
||||
-
|
||||
- for (abfd = link_info.input_bfds; abfd; abfd = abfd->link_next)
|
||||
- {
|
||||
- s = bfd_get_section_by_name (abfd, ".eh_frame");
|
||||
- if (s && s->size > 8 && !bfd_is_abs_section (s->output_section))
|
||||
- break;
|
||||
- }
|
||||
- if (abfd)
|
||||
- {
|
||||
- const struct elf_backend_data *bed;
|
||||
+ s = bfd_get_section_by_name (abfd, ".eh_frame");
|
||||
+ if (s && s->size > 8 && !bfd_is_abs_section (s->output_section))
|
||||
+ break;
|
||||
+ }
|
||||
+ if (abfd)
|
||||
+ {
|
||||
+ const struct elf_backend_data *bed;
|
||||
|
||||
- bed = get_elf_backend_data (abfd);
|
||||
- s = bfd_make_section_with_flags (abfd, ".eh_frame_hdr",
|
||||
- bed->dynamic_sec_flags
|
||||
- | SEC_READONLY);
|
||||
- if (s != NULL
|
||||
- && bfd_set_section_alignment (abfd, s, 2))
|
||||
- htab->eh_info.hdr_sec = s;
|
||||
- else
|
||||
- einfo ("%P: warning: Cannot create .eh_frame_hdr section,"
|
||||
- " --eh-frame-hdr ignored.\n");
|
||||
- }
|
||||
+ bed = get_elf_backend_data (abfd);
|
||||
+ s = bfd_make_section_with_flags (abfd, ".eh_frame_hdr",
|
||||
+ bed->dynamic_sec_flags
|
||||
+ | SEC_READONLY);
|
||||
+ if (s != NULL
|
||||
+ && bfd_set_section_alignment (abfd, s, 2))
|
||||
+ htab->eh_info.hdr_sec = s;
|
||||
+ else
|
||||
+ einfo ("%P: warning: Cannot create .eh_frame_hdr section,"
|
||||
+ " --eh-frame-hdr ignored.\n");
|
||||
}
|
||||
}
|
||||
|
||||
- /* We only need to worry about this when doing a final link. */
|
||||
- if (link_info.relocatable || !link_info.executable)
|
||||
- return;
|
||||
-
|
||||
/* Get the list of files which appear in DT_NEEDED entries in
|
||||
dynamic objects included in the link (often there will be none).
|
||||
For each such file, we want to track down the corresponding
|
||||
@@ -1125,6 +1122,8 @@ gld${EMULATION_NAME}_after_open (void)
|
||||
special action by the person doing the link. Note that the
|
||||
needed list can actually grow while we are stepping through this
|
||||
loop. */
|
||||
+ if (!link_info.executable)
|
||||
+ return;
|
||||
needed = bfd_elf_get_needed_list (output_bfd, &link_info);
|
||||
for (l = needed; l != NULL; l = l->next)
|
||||
{
|
262
binutils-2.17.50.0.18-ltconfig-multilib.patch
Normal file
262
binutils-2.17.50.0.18-ltconfig-multilib.patch
Normal file
@ -0,0 +1,262 @@
|
||||
--- binutils/configure.jj 2007-06-18 13:29:28.000000000 -0400
|
||||
+++ binutils/configure 2007-06-27 13:55:07.000000000 -0400
|
||||
@@ -8990,10 +8990,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
+ # find out which ABI we are using
|
||||
+ libsuff=
|
||||
+ case "$host_cpu" in
|
||||
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
+ (eval $ac_compile) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; then
|
||||
+ case `/usr/bin/file conftest.$ac_objext` in
|
||||
+ *64-bit*)
|
||||
+ libsuff=64
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ fi
|
||||
+ rm -rf conftest*
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
--- opcodes/configure.jj 2007-06-18 13:29:29.000000000 -0400
|
||||
+++ opcodes/configure 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -8420,10 +8420,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
+ # find out which ABI we are using
|
||||
+ libsuff=
|
||||
+ case "$host_cpu" in
|
||||
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
+ (eval $ac_compile) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; then
|
||||
+ case `/usr/bin/file conftest.$ac_objext` in
|
||||
+ *64-bit*)
|
||||
+ libsuff=64
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ fi
|
||||
+ rm -rf conftest*
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
--- gprof/configure.jj 2007-06-18 13:29:29.000000000 -0400
|
||||
+++ gprof/configure 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -8250,10 +8250,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
+ # find out which ABI we are using
|
||||
+ libsuff=
|
||||
+ case "$host_cpu" in
|
||||
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
+ (eval $ac_compile) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; then
|
||||
+ case `/usr/bin/file conftest.$ac_objext` in
|
||||
+ *64-bit*)
|
||||
+ libsuff=64
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ fi
|
||||
+ rm -rf conftest*
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
--- ld/configure.jj 2007-06-18 13:29:29.000000000 -0400
|
||||
+++ ld/configure 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -8253,10 +8253,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
+ # find out which ABI we are using
|
||||
+ libsuff=
|
||||
+ case "$host_cpu" in
|
||||
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
+ (eval $ac_compile) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; then
|
||||
+ case `/usr/bin/file conftest.$ac_objext` in
|
||||
+ *64-bit*)
|
||||
+ libsuff=64
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ fi
|
||||
+ rm -rf conftest*
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
--- gas/configure.jj 2007-06-18 13:29:28.000000000 -0400
|
||||
+++ gas/configure 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -8252,10 +8252,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
+ # find out which ABI we are using
|
||||
+ libsuff=
|
||||
+ case "$host_cpu" in
|
||||
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
+ (eval $ac_compile) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; then
|
||||
+ case `/usr/bin/file conftest.$ac_objext` in
|
||||
+ *64-bit*)
|
||||
+ libsuff=64
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ fi
|
||||
+ rm -rf conftest*
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
--- bfd/configure.jj 2007-06-18 13:29:28.000000000 -0400
|
||||
+++ bfd/configure 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -9156,10 +9156,34 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
+ # find out which ABI we are using
|
||||
+ libsuff=
|
||||
+ case "$host_cpu" in
|
||||
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
+ (eval $ac_compile) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; then
|
||||
+ case `/usr/bin/file conftest.$ac_objext` in
|
||||
+ *64-bit*)
|
||||
+ libsuff=64
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ fi
|
||||
+ rm -rf conftest*
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
--- libtool.m4.jj 2007-06-18 13:29:28.000000000 -0400
|
||||
+++ libtool.m4 2007-06-27 13:55:08.000000000 -0400
|
||||
@@ -2337,10 +2337,30 @@ linux* | k*bsd*-gnu)
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
+ # find out which ABI we are using
|
||||
+ libsuff=
|
||||
+ case "$host_cpu" in
|
||||
+ x86_64*|s390*|powerpc*|ppc*|sparc*)
|
||||
+ echo 'int i;' > conftest.$ac_ext
|
||||
+ if AC_TRY_EVAL(ac_compile); then
|
||||
+ case `/usr/bin/file conftest.$ac_objext` in
|
||||
+ *64-bit*)
|
||||
+ libsuff=64
|
||||
+ if test x"$sys_lib_search_path_spec" = x"/lib /usr/lib /usr/local/lib"; then
|
||||
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
|
||||
+ fi
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ fi
|
||||
+ rm -rf conftest*
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
# Append ld.so.conf contents to the search path
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
@ -13,8 +13,8 @@ ld/testsuite/
|
||||
PR binutils/4476
|
||||
* ld-elf/hash.d: Check "-s -D" for readelf.
|
||||
|
||||
--- binutils/binutils/readelf.c.hash 2007-05-09 10:54:22.000000000 -0700
|
||||
+++ binutils/binutils/readelf.c 2007-05-09 17:24:46.000000000 -0700
|
||||
--- binutils/readelf.c.hash 2007-05-09 10:54:22.000000000 -0700
|
||||
+++ binutils/readelf.c 2007-05-09 17:24:46.000000000 -0700
|
||||
@@ -7033,6 +7033,39 @@ get_dynamic_data (FILE *file, unsigned i
|
||||
return i_data;
|
||||
}
|
||||
@ -383,8 +383,8 @@ ld/testsuite/
|
||||
(gnuchains[off] & 1) == 0; ++off)
|
||||
++length;
|
||||
lengths[hn] = length;
|
||||
--- binutils/ld/testsuite/ld-elf/hash.d.hash 2006-09-15 07:55:42.000000000 -0700
|
||||
+++ binutils/ld/testsuite/ld-elf/hash.d 2007-05-09 15:46:56.000000000 -0700
|
||||
--- ld/testsuite/ld-elf/hash.d.hash 2006-09-15 07:55:42.000000000 -0700
|
||||
+++ ld/testsuite/ld-elf/hash.d 2007-05-09 15:46:56.000000000 -0700
|
||||
@@ -1,5 +1,5 @@
|
||||
#source: start.s
|
||||
-#readelf: -d
|
||||
|
@ -5,12 +5,12 @@
|
||||
-* ELF: Support environment variables, LD_SYMBOLIC for -Bsymbolic and
|
||||
- LD_SYMBOLIC_FUNCTIONS for -Bsymbolic-functions.
|
||||
-
|
||||
* -l:foo now searches the library path for a filename called foo,
|
||||
without converting it to libfoo.a or libfoo.so.
|
||||
* Linker sources now released under version 3 of the GNU General Public
|
||||
License.
|
||||
|
||||
--- ld/ld.texinfo.jj 2007-05-11 11:24:08.000000000 -0400
|
||||
+++ ld/ld.texinfo 2007-06-12 05:04:33.000000000 -0400
|
||||
@@ -1147,21 +1147,14 @@ When creating a shared library, bind ref
|
||||
@@ -1142,21 +1142,14 @@ When creating a shared library, bind ref
|
||||
definition within the shared library, if any. Normally, it is possible
|
||||
for a program linked against a shared library to override the definition
|
||||
within the shared library. This option is only meaningful on ELF
|
@ -15,7 +15,6 @@ Patch6: binutils-2.17.50.0.18-build-fixes.patch
|
||||
Patch7: binutils-2.17.50.0.18-symbolic-envvar-revert.patch
|
||||
Patch8: binutils-2.17.50.0.18-version.patch
|
||||
Patch9: binutils-2.17.50.0.18-bz4923.patch
|
||||
Patch10: binutils-2.17.50.0.18-readelf-D-gnu-hash.patch
|
||||
|
||||
Buildroot: %{_tmppath}/binutils-root
|
||||
BuildRequires: texinfo >= 4.0, dejagnu, gettext, flex, bison
|
||||
@ -70,7 +69,6 @@ to consider using libelf instead of BFD.
|
||||
%patch7 -p0 -b .symbolic-envvar-revert~
|
||||
%patch8 -p0 -b .version~
|
||||
%patch9 -p0 -b .bz4923~
|
||||
%patch10 -p0 -b .readelf-D-gnu-hash~
|
||||
|
||||
# On ppc64 we might use 64K pages
|
||||
sed -i -e '/#define.*ELF_COMMONPAGESIZE/s/0x1000$/0x10000/' bfd/elf*ppc.c
|
||||
@ -228,7 +226,6 @@ fi
|
||||
- fix sparc64/alpha broken by --build-id patch (#252936)
|
||||
- update License tag
|
||||
- fix ld crash with --build-id and non-ELF output format (Alan Modra, BZ#4923)
|
||||
- support .gnu.hash section for readelf -D -s (H.J. Lu)
|
||||
|
||||
* Tue Jul 31 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.17-7
|
||||
- fix ppc32 secure PLT detection (Alan Modra)
|
||||
|
Loading…
Reference in New Issue
Block a user