diff options
author | DJ Delorie <dj@redhat.com> | 1998-11-24 00:24:06 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 1998-11-24 00:24:06 +0000 |
commit | 6952c60277532f19a86abc8f8a3878dc80d6576f (patch) | |
tree | e516b949669f0eae2565ba3c37639e651718078e /ld | |
parent | 988fcc4b5e7ea5caf878803a995d453dfa76f2aa (diff) | |
download | fsf-binutils-gdb-6952c60277532f19a86abc8f8a3878dc80d6576f.zip fsf-binutils-gdb-6952c60277532f19a86abc8f8a3878dc80d6576f.tar.gz fsf-binutils-gdb-6952c60277532f19a86abc8f8a3878dc80d6576f.tar.bz2 |
* emultempl/pe.em (gld_i386pe_parse_args): Conditionalize call to
pe_dll_add_excludes
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/emultempl/pe.em | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 3339ec7..0f0d1e7 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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> * emultempl/pe.em (after_parse): Only create an undefined entry diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em index 1742961..0dbfddc 100644 --- a/ld/emultempl/pe.em +++ b/ld/emultempl/pe.em @@ -418,7 +418,9 @@ gld_${EMULATION_NAME}_parse_args(argc, argv) pe_dll_export_everything = 1; break; case OPTION_EXCLUDE_SYMBOLS: +#ifdef TARGET_IS_i386pe pe_dll_add_excludes (optarg); +#endif break; case OPTION_KILL_ATS: 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)->dll = init[DLLOFF].value; +#ifdef TARGET_IS_i386pe if (pe_enable_stdcall_fixup) /* -1=warn or 1=disable */ pe_fixup_stdcalls (); -#ifdef TARGET_IS_i386pe pe_process_import_defs(output_bfd, &link_info); if (link_info.shared) pe_dll_build_sections (output_bfd, &link_info); |