diff -uprN binutils-2.11.92.0.12/bfd/ChangeLog.linux binutils-2.11.92.0.12.3/bfd/ChangeLog.linux --- binutils-2.11.92.0.12/bfd/ChangeLog.linux Sun Nov 25 12:11:17 2001 +++ binutils-2.11.92.0.12.3/bfd/ChangeLog.linux Wed Nov 28 22:55:46 2001 @@ -1,3 +1,8 @@ +2001-11-27 H.J. Lu + + * elflink.h (elf_bfd_discard_info): Skip if the input bfd isn't + ELF. + 2001-11-26 H.J. Lu * elflink.h (elf_add_default_symbol): New. diff -uprN binutils-2.11.92.0.12/bfd/configure binutils-2.11.92.0.12.3/bfd/configure --- binutils-2.11.92.0.12/bfd/configure Wed Nov 21 15:35:32 2001 +++ binutils-2.11.92.0.12.3/bfd/configure Wed Nov 28 23:01:40 2001 @@ -1116,7 +1116,7 @@ fi PACKAGE=bfd -VERSION=2.11.92.0.12 +VERSION=2.11.92.0.12.3 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } diff -uprN binutils-2.11.92.0.12/bfd/configure.in binutils-2.11.92.0.12.3/bfd/configure.in --- binutils-2.11.92.0.12/bfd/configure.in Wed Nov 21 15:35:32 2001 +++ binutils-2.11.92.0.12.3/bfd/configure.in Wed Nov 28 23:01:33 2001 @@ -7,7 +7,7 @@ AC_INIT(libbfd.c) AC_CANONICAL_SYSTEM AC_ISC_POSIX -AM_INIT_AUTOMAKE(bfd, 2.11.92.0.12) +AM_INIT_AUTOMAKE(bfd, 2.11.92.0.12.3) # Uncomment the next line to remove the date from the reported bfd version #is_release=y diff -uprN binutils-2.11.92.0.12/bfd/elflink.h binutils-2.11.92.0.12.3/bfd/elflink.h --- binutils-2.11.92.0.12/bfd/elflink.h Sun Nov 25 12:11:17 2001 +++ binutils-2.11.92.0.12.3/bfd/elflink.h Wed Nov 28 22:55:47 2001 @@ -8079,6 +8079,9 @@ elf_bfd_discard_info (info) return false; for (abfd = info->input_bfds; abfd != NULL; abfd = abfd->link_next) { + if (bfd_get_flavour (abfd) != bfd_target_elf_flavour) + continue; + bed = get_elf_backend_data (abfd); if ((abfd->flags & DYNAMIC) != 0) diff -uprN binutils-2.11.92.0.12/binutils.spec binutils-2.11.92.0.12.3/binutils.spec --- binutils-2.11.92.0.12/binutils.spec Wed Nov 21 15:20:02 2001 +++ binutils-2.11.92.0.12.3/binutils.spec Wed Nov 28 23:04:22 2001 @@ -9,7 +9,7 @@ Summary: A GNU collection of binary utilities. Name: binutils -Version: 2.11.92.0.12 +Version: 2.11.92.0.12.3 Release: 1 Copyright: GPL Group: Development/Tools