alpha-*-osf*) gas_host=ansi ;;
- hppa*-hp-hpux*) gas_host=hpux ;;
- hppa*-hp-bsd*) gas_host=hppabsd ;;
- hppa*-hp-osf*) gas_host=hppaosf ;;
+ hppa*-*-hpux*) gas_host=hpux ;;
+ hppa*-*-bsd*) gas_host=hppabsd ;;
+ hppa*-*-osf*) gas_host=hppaosf ;;
hppa*-*-hiux*) gas_host=hpux ;;
i[34]86-ibm-aix*) gas_host=i386aix ;;
m68k-wrs-vxworks | m68k-ericsson-ose | m68k-*-sunos*)
obj_format=aout emulation=sun3 ;;
+ m68k-motorola-sysv) obj_format=coffbfd gas_target=m68kcoff emulation=delta ;;
# The dpx2-specific support has apparently not been used in a while, or
# it's not currently required. Either way, I've heard nothing about it,
# and the configure.in code that would've selected te-dpx2.h wasn't being
# code. So if you really need te-dpx2.h, start with this for now, and try
# to make it work:
# m68k-bull-sysv3*) obj_format=coffbfd gas_target=m68kcoff emulation=dpx2 ;;
-
m68k-*-coff | m68k-*-sysv*)
obj_format=coffbfd gas_target=m68kcoff ;;
m68k-*-hpux) obj_format=hp300 emulation=hp300 ;;
case ${bfd_gas}-${obj_format} in
yes-coffbfd) obj_format=coff ;;
- no-coffbfd) need_bfd=yes ;;
+ no-coffbfd) need_bfd=yes extra_def="MANY_SEGMENTS" ;;
*-elf) bfd_gas=yes ;;
*-ecoff) bfd_gas=yes ;;
*-som) bfd_gas=yes ;;
# post-target:
case ${bfd_gas} in
- yes) bfddef="BFDDEF=define" need_bfd=yes ;;
- *) bfddef="BFDDEF=undef" ;;
+ yes) extra_def="BFD_ASSEMBLER" need_bfd=yes ;;
esac
case ${need_bfd} in
esac
rm -f Makefile.tem
-echo $bfddef > Makefile.tem
+echo $cross > Makefile.tem
+case "$extra_def" in
+ "") ;;
+ *) echo defs=$extra_def >> Makefile.tem
+ ;;
+esac
echo $bfdlib >> Makefile.tem
-echo $cross >> Makefile.tem
echo "OPCODES_LIB=$opcodes" >> Makefile.tem
cat Makefile >> Makefile.tem
mv -f Makefile.tem Makefile
sparc-sun-sunos4*) ld_target=sun4 ;;
sparclite*-fujitsu-*) ld_target=sun4 ;;
-# start-sanitize-v9
- sparc64-*-elf*) ld_target=sparc64-elf ;;
- sparc64*) ld_target=sun4 ;;
-# end-sanitize-v9
sparc*-*-aout) ld_target=sun4 ;;
sparc*-*-coff) ld_target=coff-sparc ;;
sparc*-*-elf) ld_target=sun4sol2 ;;
m68*-*-*)
echo '***' "Unknown m68k target vendor for ld:" ${target_vendor} 1>&2
exit 1 ;;
- hppa*-hp-osf) ld_target=hppaosf ;;
+ hppa*-*-*elf*) ld_target=hppaelf ;;
vax-dec-ultrix* | vax-dec-bsd*) ld_target=vax ;;
mips*-dec-ultrix*) ld_target=mips-lit ;;
mips*-sgi-irix5*) ld_target=mipsb-elf32 ;;
alpha-*-osf*) ld_target=alpha ;;
alpha-*-netware*) ld_target=alpha ;;
z8k-*-sim | z8k-*-coff) ld_target=z8ksim ;;
+ powerpc-*-elf*) ld_target=ppc-elf32 ;;
+# start-sanitize-powerpc-netware
+ powerpc-*-netware*) ld_target=ppc-elf32 ;;
+# end-sanitize-powerpc-netware
*-*-aout) ld_target=${target_cpu}-${target_vendor} ;;
*-*-coff) ld_target=${target_cpu}-${target_vendor} ;;
*-*-netware) ld_target=${target_cpu}-elf ;;