[binutils-gdb] Support pe-bigobj-x86-64 as an output format in 64-bit PE based linkers.

Nick Clifton nickc@sourceware.org
Tue May 9 13:43:00 GMT 2017


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a6da46304894741d50a6f4ca2263b5cc158740e4

commit a6da46304894741d50a6f4ca2263b5cc158740e4
Author: Awson <kyrab@mail.ru>
Date:   Tue May 9 14:42:43 2017 +0100

    Support pe-bigobj-x86-64 as an output format in 64-bit PE based linkers.
    
    	PR ld/21471
    	* pe-dll.c (pe_detail_list): Add entry for pe-bigobj-x86-64.

Diff:
---
 ld/ChangeLog |  5 +++++
 ld/pe-dll.c  | 11 +++++++++++
 2 files changed, 16 insertions(+)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index 929248c..cd87112 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2017-05-09  Awson  <kyrab@mail.ru>
+
+	PR ld/21471
+	* pe-dll.c (pe_detail_list): Add entry for pe-bigobj-x86-64.
+
 2017-05-09  Benjamin Peterson  <bp@benjamin.pe>
 
 	* ld.texinfo (orphan sections): Grammar fix.
diff --git a/ld/pe-dll.c b/ld/pe-dll.c
index 4ce7a36..e99f753 100644
--- a/ld/pe-dll.c
+++ b/ld/pe-dll.c
@@ -269,6 +269,17 @@ static pe_details_type pe_detail_list[] =
 #endif
     autofilter_symbollist_i386
   },
+#ifdef pe_use_x86_64
+  {
+    "pei-x86-64",
+    "pe-bigobj-x86-64",
+    3 /* R_IMAGEBASE */,
+    PE_ARCH_i386,
+    bfd_arch_i386,
+    FALSE,
+    autofilter_symbollist_i386
+  },
+#endif
   {
     "pei-shl",
     "pe-shl",



More information about the Binutils-cvs mailing list