diff options
author | Geoffrey Noer <noer@cygnus> | 1998-10-26 01:23:29 +0000 |
---|---|---|
committer | Geoffrey Noer <noer@cygnus> | 1998-10-26 01:23:29 +0000 |
commit | d5556e2ab7947b84006b33be599f8faf093b3bd3 (patch) | |
tree | b8719886d0fbb7a45c8ab96fd95472d1d0da0114 /binutils/dlltool.c | |
parent | 5aa001ff77a836b64bda40a37c7c583a70cfb7f8 (diff) | |
download | gdb-d5556e2ab7947b84006b33be599f8faf093b3bd3.zip gdb-d5556e2ab7947b84006b33be599f8faf093b3bd3.tar.gz gdb-d5556e2ab7947b84006b33be599f8faf093b3bd3.tar.bz2 |
Sun Oct 25 10:37:45 1998 Mumit Khan <khan@xraylith.wisc.edu>
* dlltool.c (scan_all_symbols): Fix patch error.
Diffstat (limited to 'binutils/dlltool.c')
-rw-r--r-- | binutils/dlltool.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/dlltool.c b/binutils/dlltool.c index 0a0ace0..02122e2 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 */ |