From a6da46304894741d50a6f4ca2263b5cc158740e4 Mon Sep 17 00:00:00 2001 From: Awson Date: Tue, 9 May 2017 14:42:43 +0100 Subject: [PATCH] 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. --- ld/ChangeLog | 5 +++++ ld/pe-dll.c | 11 +++++++++++ 2 files changed, 16 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index 929248c366f..cd8711240b2 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2017-05-09 Awson + + PR ld/21471 + * pe-dll.c (pe_detail_list): Add entry for pe-bigobj-x86-64. + 2017-05-09 Benjamin Peterson * ld.texinfo (orphan sections): Grammar fix. diff --git a/ld/pe-dll.c b/ld/pe-dll.c index 4ce7a3638cb..e99f753d27d 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", -- 2.30.2