aboutsummaryrefslogtreecommitdiff
path: root/bfd/config.bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/config.bfd')
-rw-r--r--bfd/config.bfd22
1 files changed, 12 insertions, 10 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 3b39ff3..bdee539 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -1098,11 +1098,10 @@ case "${targ}" in
targ_selvecs="rs6000_xcoff64_aix_vec"
want64=true
;;
- powerpc-*-aix[5-9]* | rs6000-*-aix[5-9]*)
- targ_cflags=-DAIX_WEAK_SUPPORT
- targ_defvec=rs6000_xcoff_vec
- targ_selvecs="rs6000_xcoff64_aix_vec"
- want64=true
+ powerpc-*-haiku*)
+ targ_defvec=powerpc_elf32_vec
+ targ_selvecs="rs6000_xcoff_vec powerpc_elf32_le_vec pef_vec pef_xlib_vec powerpc_xcoff_vec powerpc_boot_vec"
+ targ_cflags=-D__HAIKU_TARGET__
;;
#ifdef BFD64
powerpc64-*-aix5.[01])
@@ -1110,6 +1109,14 @@ case "${targ}" in
targ_selvecs="rs6000_xcoff_vec"
want64=true
;;
+#endif
+ powerpc-*-aix[5-9]* | rs6000-*-aix[5-9]*)
+ targ_cflags=-DAIX_WEAK_SUPPORT
+ targ_defvec=rs6000_xcoff_vec
+ targ_selvecs="rs6000_xcoff64_aix_vec"
+ want64=true
+ ;;
+#ifdef BFD64
powerpc64-*-aix[5-9]*)
targ_cflags=-DAIX_WEAK_SUPPORT
targ_defvec=rs6000_xcoff64_aix_vec
@@ -1169,11 +1176,6 @@ case "${targ}" in
targ_selvecs="rs6000_xcoff_vec powerpc_elf32_le_vec powerpc_boot_vec"
targ64_selvecs="powerpc_elf64_vec powerpc_elf64_le_vec"
;;
- powerpc-*-haiku*)
- targ_defvec=powerpc_elf32_vec
- targ_selvecs="rs6000_xcoff_vec powerpc_elf32_le_vec pef_vec pef_xlib_vec powerpc_xcoff_vec powerpc_boot_vec"
- targ_cflags=-D__HAIKU_TARGET__
- ;;
powerpc-*-kaos*)
targ_defvec=powerpc_elf32_vec
targ_selvecs="powerpc_elf32_le_vec powerpc_boot_vec"