* pe-dll.c (process_def_file): Don't export all symbols by default if
authorDanny Smith <dannysmith@users.sourceforge.net>
Sun, 24 Oct 2004 01:00:12 +0000 (01:00 +0000)
committerDanny Smith <dannysmith@users.sourceforge.net>
Sun, 24 Oct 2004 01:00:12 +0000 (01:00 +0000)
building a position-independent executable.

ld/ChangeLog
ld/pe-dll.c

index 1536e73ad579f26cddeac953093e990ca8465556..c8f0caa52e6cc02add66806249cbc76191ce8df4 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-24 Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * pe-dll.c (process_def_file): Don't export all symbols by default if
+       building a position-independent executable.
+
 2004-10-21  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR 463
index 8813de6361fcc672907282ab387d0eaf004f0c17..46b0a1381f594c6d984755ef254db4b4b168bc5e 100644 (file)
@@ -527,7 +527,7 @@ process_def_file (bfd *abfd ATTRIBUTE_UNUSED, struct bfd_link_info *info)
   /* If we are not building a DLL, when there are no exports
      we do not build an export table at all.  */
   if (!pe_dll_export_everything && pe_def_file->num_exports == 0
-      && !info->shared)
+      && info->executable)
     return;
 
   /* Now, maybe export everything else the default way.  */
This page took 0.034239 seconds and 4 git commands to generate.