mirror of
https://review.haiku-os.org/buildtools
synced 2024-11-23 07:18:49 +01:00
binutils: enable PE support for ARM
Needed for building the EFI bootloader. Unfortunately gcc doesn't know how to generate PE binaries for AArch64, so a different solution will be needed there. Change-Id: Id50d57ae81bdd7a18d424305d08fc55f312a2588 Reviewed-on: https://review.haiku-os.org/c/buildtools/+/2414 Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
This commit is contained in:
parent
c473a032a0
commit
c3903e95f6
@ -344,6 +344,10 @@ case "${targ}" in
|
||||
targ_defvec=arm_elf32_le_vec
|
||||
targ_selvecs="arm_elf32_be_vec"
|
||||
;;
|
||||
arm*-*-haiku*)
|
||||
targ_defvec=arm_elf32_le_vec
|
||||
targ_selvecs="arm_elf32_fdpic_le_vec arm_elf32_be_vec arm_elf32_fdpic_be_vec arm_pe_le_vec arm_pe_be_vec arm_pei_le_vec arm_pei_be_vec"
|
||||
;;
|
||||
arm-*-nacl*)
|
||||
targ_defvec=arm_elf32_nacl_le_vec
|
||||
targ_selvecs="arm_elf32_nacl_be_vec i386_elf32_nacl_vec"
|
||||
@ -394,8 +398,7 @@ case "${targ}" in
|
||||
;;
|
||||
arm-*-elf | arm*-*-freebsd* | arm*-*-linux-* | arm*-*-conix* | \
|
||||
arm*-*-uclinux* | arm-*-kfreebsd*-gnu | \
|
||||
arm*-*-eabi* | arm-*-rtems* | arm*-*-uclinuxfdpiceabi | \
|
||||
arm*-*-haiku*)
|
||||
arm*-*-eabi* | arm-*-rtems* | arm*-*-uclinuxfdpiceabi)
|
||||
targ_defvec=arm_elf32_le_vec
|
||||
targ_selvecs="arm_elf32_fdpic_le_vec arm_elf32_be_vec arm_elf32_fdpic_be_vec"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user