aboutsummaryrefslogtreecommitdiff
path: root/binutils/nlmconv.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-12-10 05:51:25 +0000
committerIan Lance Taylor <ian@airs.com>1993-12-10 05:51:25 +0000
commit4e58b3ebfc87740365dacb4eda170ebebce72a7f (patch)
tree44390066eafbb58781ae2443b87d8a0bd83cdbef /binutils/nlmconv.c
parent0f6df2eee03e3366cc14683fc7f786acc9d6fb0b (diff)
downloadgdb-4e58b3ebfc87740365dacb4eda170ebebce72a7f.zip
gdb-4e58b3ebfc87740365dacb4eda170ebebce72a7f.tar.gz
gdb-4e58b3ebfc87740365dacb4eda170ebebce72a7f.tar.bz2
* nlmconv.c (main): Warn about imported symbols that are not in
the IMPORT list even if the IMPORT keyword is not used. Fixes PR 4006.
Diffstat (limited to 'binutils/nlmconv.c')
-rw-r--r--binutils/nlmconv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/binutils/nlmconv.c b/binutils/nlmconv.c
index b9b84e6..7fa4c2a 100644
--- a/binutils/nlmconv.c
+++ b/binutils/nlmconv.c
@@ -514,8 +514,7 @@ main (argc, argv)
/* If it's an undefined symbol, see if it's on the import list.
Change the prefix if necessary. */
- if (bfd_get_section (sym) == &bfd_und_section
- && import_symbols != NULL)
+ if (bfd_get_section (sym) == &bfd_und_section)
{
register struct string_list *l;