[PATCH] binutils: enable PE on 32bit haiku build

Alexander von Gluck IV kallisti5@unixzen.com
Fri Mar 18 16:20:26 GMT 2022


* Needed for the 32bit EFI bootloader.
---
 bfd/config.bfd | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bfd/config.bfd b/bfd/config.bfd
index 872685cfb72..b1fcbc90eb1 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -753,6 +753,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
-- 
2.35.1



More information about the Binutils mailing list