* emultempl/pe.em (gld_i386pe_parse_args): Conditionalize call to
pe_dll_add_excludes
This commit is contained in:
parent
988fcc4b5e
commit
6952c60277
@ -1,3 +1,8 @@
|
|||||||
|
1998-11-23 DJ Delorie <dj@cygnus.com>
|
||||||
|
|
||||||
|
* emultempl/pe.em (gld_i386pe_parse_args): Conditionalize call to
|
||||||
|
pe_dll_add_excludes
|
||||||
|
|
||||||
Mon Nov 23 14:36:18 1998 Nick Clifton <nickc@cygnus.com>
|
Mon Nov 23 14:36:18 1998 Nick Clifton <nickc@cygnus.com>
|
||||||
|
|
||||||
* emultempl/pe.em (after_parse): Only create an undefined entry
|
* emultempl/pe.em (after_parse): Only create an undefined entry
|
||||||
|
@ -418,7 +418,9 @@ gld_${EMULATION_NAME}_parse_args(argc, argv)
|
|||||||
pe_dll_export_everything = 1;
|
pe_dll_export_everything = 1;
|
||||||
break;
|
break;
|
||||||
case OPTION_EXCLUDE_SYMBOLS:
|
case OPTION_EXCLUDE_SYMBOLS:
|
||||||
|
#ifdef TARGET_IS_i386pe
|
||||||
pe_dll_add_excludes (optarg);
|
pe_dll_add_excludes (optarg);
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
case OPTION_KILL_ATS:
|
case OPTION_KILL_ATS:
|
||||||
pe_dll_kill_ats = 1;
|
pe_dll_kill_ats = 1;
|
||||||
@ -616,10 +618,10 @@ gld_${EMULATION_NAME}_after_open ()
|
|||||||
pe_data (output_bfd)->pe_opthdr = pe;
|
pe_data (output_bfd)->pe_opthdr = pe;
|
||||||
pe_data (output_bfd)->dll = init[DLLOFF].value;
|
pe_data (output_bfd)->dll = init[DLLOFF].value;
|
||||||
|
|
||||||
|
#ifdef TARGET_IS_i386pe
|
||||||
if (pe_enable_stdcall_fixup) /* -1=warn or 1=disable */
|
if (pe_enable_stdcall_fixup) /* -1=warn or 1=disable */
|
||||||
pe_fixup_stdcalls ();
|
pe_fixup_stdcalls ();
|
||||||
|
|
||||||
#ifdef TARGET_IS_i386pe
|
|
||||||
pe_process_import_defs(output_bfd, &link_info);
|
pe_process_import_defs(output_bfd, &link_info);
|
||||||
if (link_info.shared)
|
if (link_info.shared)
|
||||||
pe_dll_build_sections (output_bfd, &link_info);
|
pe_dll_build_sections (output_bfd, &link_info);
|
||||||
|
Loading…
Reference in New Issue
Block a user