Set ld to use i386pe when powerpc64-fcx-xenon is the target

This commit is contained in:
Aiden Isik 2025-01-18 20:35:06 +00:00
parent beb2cdbcda
commit 36f3f83ec7
2 changed files with 4 additions and 1 deletions

2
config.sub vendored
View file

@ -1768,7 +1768,7 @@ case $os in
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
| fiwix* | mlibc* | cos* | mbr* | ironclad* )
| fiwix* | mlibc* | cos* | mbr* | ironclad* | xenon* )
;;
# This one is extra strict with allowed versions
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)

View file

@ -694,6 +694,9 @@ pjl*-*-*) targ_emul=pjlelf
pj*-*-*) targ_emul=pjelf
targ_extra_ofiles=ldelfgen.o
;;
powerpc64-fcx-xenon*)
targ_emul=i386pe
;;
powerpc-*-freebsd* | powerpc-*-kfreebsd*-gnu)
targ_emul=elf32ppc_fbsd
targ_extra_emuls="elf32ppc elf32ppcsim"