* pe-dll.c (process_def_file): auto-export everything if

nothing is otherwise exported.
This commit is contained in:
DJ Delorie 1998-11-09 23:06:47 +00:00
parent 854d50bd51
commit 69c4fd86f9
2 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,8 @@ Mon Nov 9 16:41:30 1998 DJ Delorie <dj@cygnus.com>
* Makefile.am: add new files and target-specific extra files
* emultempl/pe.em (gld_i386_list_options): list dll-specific
options.
* pe-dll.c (process_def_file): auto-export everything if
nothing is otherwise exported.
Wed Nov 4 16:39:18 1998 Nick Clifton <nickc@cygnus.com>

View File

@ -205,7 +205,7 @@ process_def_file (abfd, info)
/* Now, maybe export everything else the default way */
if (pe_dll_export_everything)
if (pe_dll_export_everything || pe_def_file->num_exports == 0)
{
for (b = info->input_bfds; b; b = b->link_next)
{