binutils: enable AIX_WEAK_SUPPORT for powerpc-*-macos
This commit is contained in:
parent
2d434968ff
commit
65ffde8261
|
@ -1280,6 +1280,7 @@ case "${targ}" in
|
|||
targ_archs="$targ_archs bfd_i386_arch"
|
||||
;;
|
||||
powerpc-*-macos*)
|
||||
targ_cflags=-DAIX_WEAK_SUPPORT
|
||||
targ_selvecs=powerpc_xcoff_vec
|
||||
targ_defvec=powerpc_xcoff_vec
|
||||
;;
|
||||
|
|
|
@ -14466,7 +14466,8 @@ do
|
|||
;;
|
||||
powerpc*-aix5.[01])
|
||||
;;
|
||||
powerpc*-aix[5-9].*)
|
||||
powerpc*-aix[5-9].* \
|
||||
| powerpc-*-macos)
|
||||
OBJDUMP_DEFS="-DAIX_WEAK_SUPPORT"
|
||||
;;
|
||||
powerpc*-*-pe* | powerpc*-*-cygwin*)
|
||||
|
|
|
@ -351,8 +351,9 @@ changequote(,)dnl
|
|||
changequote([,])dnl
|
||||
;;
|
||||
changequote(,)dnl
|
||||
powerpc*-aix[5-9].*)
|
||||
powerpc*-aix[5-9].* \
|
||||
changequote([,])dnl
|
||||
| powerpc-*-macos)
|
||||
OBJDUMP_DEFS="-DAIX_WEAK_SUPPORT"
|
||||
;;
|
||||
powerpc*-*-pe* | powerpc*-*-cygwin*)
|
||||
|
|
|
@ -12075,7 +12075,8 @@ $as_echo "$as_me: WARNING: GAS support for ${generic_target} is preliminary and
|
|||
microblaze*)
|
||||
;;
|
||||
|
||||
ppc-*-aix[5-9].*)
|
||||
ppc-*-aix[5-9].* \
|
||||
| ppc-*-macos*)
|
||||
|
||||
$as_echo "#define AIX_WEAK_SUPPORT 1" >>confdefs.h
|
||||
|
||||
|
|
|
@ -163,8 +163,9 @@ for this_target in $target $canon_targets ; do
|
|||
;;
|
||||
|
||||
changequote(,)dnl
|
||||
ppc-*-aix[5-9].*)
|
||||
ppc-*-aix[5-9].* \
|
||||
changequote([,])dnl
|
||||
| ppc-*-macos*)
|
||||
AC_DEFINE(AIX_WEAK_SUPPORT, 1,
|
||||
[Define if using AIX 5.2 value for C_WEAKEXT.])
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue