aboutsummaryrefslogtreecommitdiff
path: root/ld/pe-dll.c
diff options
context:
space:
mode:
authorAwson <kyrab@mail.ru>2017-05-09 14:42:43 +0100
committerNick Clifton <nickc@redhat.com>2017-05-09 14:42:43 +0100
commita6da46304894741d50a6f4ca2263b5cc158740e4 (patch)
tree570f7eb65a14f345fa77fd14d8422863c16bef15 /ld/pe-dll.c
parent94bb8dfe28219e4b747cb874aae401d18df91c9b (diff)
downloadbinutils-a6da46304894741d50a6f4ca2263b5cc158740e4.zip
binutils-a6da46304894741d50a6f4ca2263b5cc158740e4.tar.gz
binutils-a6da46304894741d50a6f4ca2263b5cc158740e4.tar.bz2
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.
Diffstat (limited to 'ld/pe-dll.c')
-rw-r--r--ld/pe-dll.c11
1 files changed, 11 insertions, 0 deletions
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",