From d5556e2ab7947b84006b33be599f8faf093b3bd3 Mon Sep 17 00:00:00 2001 From: Geoffrey Noer Date: Mon, 26 Oct 1998 01:23:29 +0000 Subject: [PATCH] Sun Oct 25 10:37:45 1998 Mumit Khan * dlltool.c (scan_all_symbols): Fix patch error. --- binutils/ChangeLog | 44 ++++++++++++++++++++++++++++++++++++++++++++ binutils/dlltool.c | 6 ++++++ 2 files changed, 50 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d51da6d0bc..b02e91ec0c 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,47 @@ +Sun Oct 25 10:37:45 1998 Mumit Khan + + * dlltool.c (scan_all_symbols): Fix patch error. + +Fri Oct 16 22:56:20 1998 Felix Lee + + * nm.c (display_rel_file): fix "no symbols" messages. + * objdump.c (slurp_symtab): ditto. + * po/POTFILES.in, po/binutils.pot: rebuilt + +Mon Oct 12 14:28:03 1998 Nick Clifton + + * readelf.c (dump_relocations): Rename field from Value to Info to + match name of field in ELF structures. + +Thu Oct 8 15:33:08 1998 Geoffrey Noer + + * configure.in: call AC_EXEEXT instead of AM_EXEEXT and + AM_CYGWIN32. + * aclocal.m4: remove local AM_EXEEXT/AM_CYGWIN32 macros. + * configure: regenerate + +Thu Oct 8 15:33:08 1998 Geoffrey Noer + + From Mumit Khan : + * dlltool.c (scan_all_symbols): Don't re-export symbols exported + by other DLLs. + +Thu Oct 8 15:33:08 1998 Geoffrey Noer + + * Makefile.am (BUILD_DLLWRAP): Add. + (BUILD_DLLWRAP, DLLWRAP_PROG): Add. + (bin_PROGRAMS): Add dllwrap. + * Makefile.in: regenerate with automake + + From Mumit Khan : + * dllwrap.c: New file from dllhelpers v0.2.1. + (print_version): New function. + (long_options): Add --version. + (main): Handle. + * dyn-string.h, dyn-string.c: New files from egcs-1.1/gcc. + * configure.in (BUILD_DLLWRAP): Add. + * configure: Regenerate. + Tue Oct 6 18:20:10 1998 Geoffrey Noer * Makefile.am (windres_SOURCES): Add resres.c. diff --git a/binutils/dlltool.c b/binutils/dlltool.c index 0a0ace00ba..02122e2d64 100644 --- a/binutils/dlltool.c +++ b/binutils/dlltool.c @@ -1251,6 +1251,12 @@ scan_all_symbols (abfd) PTR minisyms; unsigned int size; + /* Ignore bfds with an import descriptor table. We assume that any + such BFD contains symbols which are exported from another DLL, + and we don't want to reexport them from here. */ + if (bfd_get_section_by_name (abfd, ".idata$4")) + return; + if (! (bfd_get_file_flags (abfd) & HAS_SYMS)) { /* xgettext:c-format */