* pe-dll.c (process_def_file): Don't export all symbols by default if
building a position-independent executable.
This commit is contained in:
parent
04d3ad575b
commit
7b0eaa22d7
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue