PR17074 - ignore line terminator characters found inside strings.
[deliverable/binutils-gdb.git] / binutils / dlltool.c
index 0a0ace00ba91a48411ca3515402a295f76fa4029..02122e2d64ce2579f83dc8dafe081c232dcd70e6 100644 (file)
@@ -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 */
This page took 0.023063 seconds and 4 git commands to generate.