mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-18 16:53:50 +08:00
Add powerpc*-eabisim support.
This commit is contained in:
@ -160,6 +160,75 @@ mips*-*-*)
|
|||||||
;;
|
;;
|
||||||
powerpc-*-eabiaix*)
|
powerpc-*-eabiaix*)
|
||||||
multidirs="soft-float relocatable little-endian call-sysv little-endian/call-sysv relocatable/little-endian relocatable/call-sysv relocatable/little-endian/call-sysv soft-float/relocatable soft-float/little-endian soft-float/call-sysv soft-float/little-endian/call-sysv soft-float/relocatable/little-endian soft-float/relocatable/call-sysv soft-float/relocatable/little-endian/call-sysv"
|
multidirs="soft-float relocatable little-endian call-sysv little-endian/call-sysv relocatable/little-endian relocatable/call-sysv relocatable/little-endian/call-sysv soft-float/relocatable soft-float/little-endian soft-float/call-sysv soft-float/little-endian/call-sysv soft-float/relocatable/little-endian soft-float/relocatable/call-sysv soft-float/relocatable/little-endian/call-sysv"
|
||||||
|
if [ x$enable_biendian = xno ]
|
||||||
|
then
|
||||||
|
old_multidirs="${multidirs}"
|
||||||
|
multidirs=""
|
||||||
|
for x in ${old_multidirs}; do
|
||||||
|
case "$x" in
|
||||||
|
*endian* ) : ;;
|
||||||
|
*) if [ x"$multidirs" = x ]; then multidirs="$x"; else multidirs="${multidirs} ${x}"; fi ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
if [ x$enable_softfloat = xno ]
|
||||||
|
then
|
||||||
|
old_multidirs="${multidirs}"
|
||||||
|
multidirs=""
|
||||||
|
for x in ${old_multidirs}; do
|
||||||
|
case "$x" in
|
||||||
|
*soft-float* ) : ;;
|
||||||
|
*) if [ x"$multidirs" = x ]; then multidirs="$x"; else multidirs="${multidirs} ${x}"; fi ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
if [ x$enable_relocatable = xno ]
|
||||||
|
then
|
||||||
|
old_multidirs="${multidirs}"
|
||||||
|
multidirs=""
|
||||||
|
for x in ${old_multidirs}; do
|
||||||
|
case "$x" in
|
||||||
|
*relocatable* ) : ;;
|
||||||
|
*) if [ x"$multidirs" = x ]; then multidirs="$x"; else multidirs="${multidirs} ${x}"; fi ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
if [ x$enable_sysv = xno ]
|
||||||
|
then
|
||||||
|
old_multidirs="${multidirs}"
|
||||||
|
multidirs=""
|
||||||
|
for x in ${old_multidirs}; do
|
||||||
|
case "$x" in
|
||||||
|
*sysv* ) : ;;
|
||||||
|
*) if [ x"$multidirs" = x ]; then multidirs="$x"; else multidirs="${multidirs} ${x}"; fi ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
powerpc*-*-eabisim*)
|
||||||
|
multidirs="little-endian big-endian mrelocatable little-endian/mrelocatable big-endian/mrelocatable"
|
||||||
|
if [ x$enable_biendian = xno ]
|
||||||
|
then
|
||||||
|
old_multidirs="${multidirs}"
|
||||||
|
multidirs=""
|
||||||
|
for x in ${old_multidirs}; do
|
||||||
|
case "$x" in
|
||||||
|
*endian* ) : ;;
|
||||||
|
*) if [ x"$multidirs" = x ]; then multidirs="$x"; else multidirs="${multidirs} ${x}"; fi ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
if [ x$enable_relocatable = xno ]
|
||||||
|
then
|
||||||
|
old_multidirs="${multidirs}"
|
||||||
|
multidirs=""
|
||||||
|
for x in ${old_multidirs}; do
|
||||||
|
case "$x" in
|
||||||
|
*relocatable* ) : ;;
|
||||||
|
*) if [ x"$multidirs" = x ]; then multidirs="$x"; else multidirs="${multidirs} ${x}"; fi ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
powerpc-*-eabi* | powerpc-*-elf* | powerpc-*-sysv4*)
|
powerpc-*-eabi* | powerpc-*-elf* | powerpc-*-sysv4*)
|
||||||
multidirs="soft-float relocatable little-endian call-aix little-endian/call-aix relocatable/little-endian relocatable/call-aix relocatable/little-endian/call-aix soft-float/relocatable soft-float/little-endian soft-float/call-aix soft-float/little-endian/call-aix soft-float/relocatable/little-endian soft-float/relocatable/call-aix soft-float/relocatable/little-endian/call-aix"
|
multidirs="soft-float relocatable little-endian call-aix little-endian/call-aix relocatable/little-endian relocatable/call-aix relocatable/little-endian/call-aix soft-float/relocatable soft-float/little-endian soft-float/call-aix soft-float/little-endian/call-aix soft-float/relocatable/little-endian soft-float/relocatable/call-aix soft-float/relocatable/little-endian/call-aix"
|
||||||
|
Reference in New Issue
Block a user