diff -uprN binutils-2.14.90.0.3/bfd/configure binutils-2.14.90.0.4/bfd/configure --- binutils-2.14.90.0.3/bfd/configure 2003-05-23 07:18:52.000000000 -0700 +++ binutils-2.14.90.0.4/bfd/configure 2003-05-25 07:43:31.000000000 -0700 @@ -918,7 +918,7 @@ fi PACKAGE=bfd -VERSION=2.14.90.0.3 +VERSION=2.14.90.0.4 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.14.90.0.3/bfd/configure.in binutils-2.14.90.0.4/bfd/configure.in --- binutils-2.14.90.0.3/bfd/configure.in 2003-05-23 07:18:52.000000000 -0700 +++ binutils-2.14.90.0.4/bfd/configure.in 2003-05-25 07:43:31.000000000 -0700 @@ -7,7 +7,7 @@ AC_INIT(libbfd.c) AC_CANONICAL_SYSTEM AC_ISC_POSIX -AM_INIT_AUTOMAKE(bfd, 2.14.90.0.3) +AM_INIT_AUTOMAKE(bfd, 2.14.90.0.4) # Uncomment the next line to remove the date from the reported bfd version #is_release=y diff -uprN binutils-2.14.90.0.3/binutils.spec binutils-2.14.90.0.4/binutils.spec --- binutils-2.14.90.0.3/binutils.spec 2003-05-23 07:19:15.000000000 -0700 +++ binutils-2.14.90.0.4/binutils.spec 2003-05-25 07:34:46.000000000 -0700 @@ -12,7 +12,7 @@ Summary: A GNU collection of binary utilities. Name: binutils -Version: 2.14.90.0.3 +Version: 2.14.90.0.4 Release: 1 Copyright: GPL Group: Development/Tools diff -uprN binutils-2.14.90.0.3/patches/ChangeLog binutils-2.14.90.0.4/patches/ChangeLog --- binutils-2.14.90.0.3/patches/ChangeLog 2003-05-23 07:18:54.000000000 -0700 +++ binutils-2.14.90.0.4/patches/ChangeLog 2003-05-25 07:43:31.000000000 -0700 @@ -1,3 +1,9 @@ +2003-05-25 H.J. Lu + + * libtool-dso.patch: New. Fix brain dead libtool. + + * README: Apply libtool-dso.patch. + 2003-05-23 H.J. Lu * ld-test-link.patch: New file. Fix "make check" in ld for diff -uprN binutils-2.14.90.0.3/patches/README binutils-2.14.90.0.4/patches/README --- binutils-2.14.90.0.3/patches/README 2003-05-23 07:18:54.000000000 -0700 +++ binutils-2.14.90.0.4/patches/README 2003-05-25 07:43:31.000000000 -0700 @@ -14,6 +14,7 @@ dir=`dirname $0` +patch -p1 -b --suffix .dso < $dir/libtool-dso.patch && \ patch -p0 -b --suffix .link < $dir/ld-test-link.patch && \ true [ $? = 0 ] || exit 1 diff -uprN binutils-2.14.90.0.3/patches/libtool-dso.patch binutils-2.14.90.0.4/patches/libtool-dso.patch --- binutils-2.14.90.0.3/patches/libtool-dso.patch 1969-12-31 16:00:00.000000000 -0800 +++ binutils-2.14.90.0.4/patches/libtool-dso.patch 2003-05-25 07:43:31.000000000 -0700 @@ -0,0 +1,71 @@ +2003-05-23 H.J. Lu + + * ltmain.sh: Make symlink for shared library if needed. + +opcodes/ + +2003-05-23 H.J. Lu + + * Makefile.am (libopcodes_la_LIBADD): Use "-L../bfd -lbfd" + instead of "../bfd/libbfd.la". + * Makefile.in: Regenerated. + +--- binutils/ltmain.sh.dso 2002-03-22 00:16:20.000000000 -0800 ++++ binutils/ltmain.sh 2003-05-23 22:51:20.000000000 -0700 +@@ -4413,6 +4413,10 @@ relink_command=\"$relink_command\"" + # LD_LIBRARY_PATH before the program is installed. + $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)" + $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $? ++ if test -n "$linkname"; then ++ $show "(cd $output_objdir && $rm ../$linkname && $LN_S $output_objdir/$linkname ../$linkname)" ++ $run eval '(cd $output_objdir && $rm ../$linkname && $LN_S $output_objdir/$linkname ../$linkname)' || exit $? ++ fi + ;; + esac + exit 0 +--- binutils/opcodes/Makefile.am.dso 2003-05-19 08:23:00.000000000 -0700 ++++ binutils/opcodes/Makefile.am 2003-05-23 22:46:29.000000000 -0700 +@@ -283,7 +283,7 @@ disassemble.lo: disassemble.c $(INCDIR)/ + + libopcodes_la_SOURCES = dis-buf.c disassemble.c + libopcodes_la_DEPENDENCIES = $(OFILES) ../bfd/libbfd.la +-libopcodes_la_LIBADD = $(OFILES) @WIN32LIBADD@ ../bfd/libbfd.la ++libopcodes_la_LIBADD = $(OFILES) @WIN32LIBADD@ -L../bfd -lbfd + libopcodes_la_LDFLAGS = -release $(VERSION) @WIN32LDFLAGS@ + + # libtool will build .libs/libopcodes.a. We create libopcodes.a in +--- binutils/opcodes/Makefile.in.dso 2003-05-20 08:37:53.000000000 -0700 ++++ binutils/opcodes/Makefile.in 2003-05-23 22:46:31.000000000 -0700 +@@ -1,4 +1,4 @@ +-# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am ++# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am + + # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation +@@ -393,7 +393,7 @@ INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) + + libopcodes_la_SOURCES = dis-buf.c disassemble.c + libopcodes_la_DEPENDENCIES = $(OFILES) ../bfd/libbfd.la +-libopcodes_la_LIBADD = $(OFILES) @WIN32LIBADD@ ../bfd/libbfd.la ++libopcodes_la_LIBADD = $(OFILES) @WIN32LIBADD@ -L../bfd -lbfd + libopcodes_la_LDFLAGS = -release $(VERSION) @WIN32LDFLAGS@ + + # libtool will build .libs/libopcodes.a. We create libopcodes.a in +@@ -592,7 +592,7 @@ libopcodes.la: $(libopcodes_la_OBJECTS) + all-recursive install-data-recursive install-exec-recursive \ + installdirs-recursive install-recursive uninstall-recursive install-info-recursive \ + check-recursive installcheck-recursive info-recursive dvi-recursive: +- @set fnord $(MAKEFLAGS); amf=$$2; \ ++ @set fnord $$MAKEFLAGS; amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ +@@ -612,7 +612,7 @@ check-recursive installcheck-recursive i + + mostlyclean-recursive clean-recursive distclean-recursive \ + maintainer-clean-recursive: +- @set fnord $(MAKEFLAGS); amf=$$2; \ ++ @set fnord $$MAKEFLAGS; amf=$$2; \ + dot_seen=no; \ + rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ + rev="$$subdir $$rev"; \