12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- From 05164a1162d5f6f696d7f7c4b1bc61ef06d1c288 Mon Sep 17 00:00:00 2001
- From: Georg Koppen <gk@torproject.org>
- Date: Tue, 12 Sep 2017 07:21:16 +0000
- Subject: [PATCH] 64bit fixups
- ---
- ld/emultempl/pep.em | 4 ++--
- ld/pep-dll.c | 1 +
- ld/pep-dll.h | 1 +
- 3 files changed, 4 insertions(+), 2 deletions(-)
- diff --git a/ld/emultempl/pep.em b/ld/emultempl/pep.em
- index fccbd63..f7c0a57 100644
- --- a/ld/emultempl/pep.em
- +++ b/ld/emultempl/pep.em
- @@ -742,7 +742,7 @@ gld${EMULATION_NAME}_handle_option (int optc)
- pep_dll_exclude_all_symbols = 1;
- break;
- case OPTION_ENABLE_RELOC_SECTION:
- - pe_dll_enable_reloc_section = 1;
- + pep_dll_enable_reloc_section = 1;
- break;
- case OPTION_EXCLUDE_LIBS:
- pep_dll_add_excludes (optarg, EXCLUDELIBS);
- @@ -1862,7 +1862,7 @@ gld_${EMULATION_NAME}_finish (void)
- #ifdef DLL_SUPPORT
- if (bfd_link_pic (&link_info)
- || (!bfd_link_relocatable (&link_info)
- - && pe_dll_enable_reloc_section)
- + && pep_dll_enable_reloc_section)
- || (!bfd_link_relocatable (&link_info)
- && pep_def_file->num_exports != 0))
- {
- diff --git a/ld/pep-dll.c b/ld/pep-dll.c
- index b8c017f..5ad5733 100644
- --- a/ld/pep-dll.c
- +++ b/ld/pep-dll.c
- @@ -31,6 +31,7 @@
- #define pe_dll_export_everything pep_dll_export_everything
- #define pe_dll_exclude_all_symbols pep_dll_exclude_all_symbols
- #define pe_dll_do_default_excludes pep_dll_do_default_excludes
- +#define pe_dll_enable_reloc_section pep_dll_enable_reloc_section
- #define pe_dll_kill_ats pep_dll_kill_ats
- #define pe_dll_stdcall_aliases pep_dll_stdcall_aliases
- #define pe_dll_warn_dup_exports pep_dll_warn_dup_exports
- diff --git a/ld/pep-dll.h b/ld/pep-dll.h
- index 0a27c1f..95d9c15 100644
- --- a/ld/pep-dll.h
- +++ b/ld/pep-dll.h
- @@ -31,6 +31,7 @@ extern def_file * pep_def_file;
- extern int pep_dll_export_everything;
- extern int pep_dll_exclude_all_symbols;
- extern int pep_dll_do_default_excludes;
- +extern int pep_dll_enable_reloc_section;
- extern int pep_dll_kill_ats;
- extern int pep_dll_stdcall_aliases;
- extern int pep_dll_warn_dup_exports;
- --
- 2.1.4
|