Support pe-bigobj-x86-64 as an output format in 64-bit PE based linkers.
authorAwson <kyrab@mail.ru>
Tue, 9 May 2017 13:42:43 +0000 (14:42 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 9 May 2017 13:42:43 +0000 (14:42 +0100)
PR ld/21471
* pe-dll.c (pe_detail_list): Add entry for pe-bigobj-x86-64.

ld/ChangeLog
ld/pe-dll.c

index 929248c366fb879a0dd5bf5bd5b13e207ef8e5b7..cd8711240b2cefce4624d58036c67ebb3f0778f9 100644 (file)
@@ -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.
index 4ce7a3638cb40f325bc4d460fc5fa7f251966783..e99f753d27d6bf0c32291081fe18e53a60c2fea9 100644 (file)
@@ -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",