From 795d2053a07fdd2ce3c4ef6f649b0a27e2b085d1 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Mon, 28 Feb 2022 19:08:15 +0100 Subject: [PATCH] binutils: enable PE on 32bit build Needed for the 32bit EFI bootloader. Haiku build on Haiku fails currently because this is not enabled. --- binutils/bfd/config.bfd | 1 + 1 file changed, 1 insertion(+) diff --git a/binutils/bfd/config.bfd b/binutils/bfd/config.bfd index b532a3e9ae..feb1c2f9c2 100644 --- a/binutils/bfd/config.bfd +++ b/binutils/bfd/config.bfd @@ -740,6 +740,7 @@ case "${targ}" in ;; i[3-7]86-*-haiku*) targ_defvec=i386_elf32_vec + targ_selvecs="i386_pei_vec" ;; i[3-7]86-*-interix*) targ_defvec=i386_pei_vec