From: Jeff Law Date: Thu, 7 Apr 1994 03:49:18 +0000 (+0000) Subject: * configure.in (hppa*-*-*elf*): Don't require "-hp-" for the X-Git-Tag: gdb-4_18~14872 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f39a73b1b6b80123ddef25fc45bba1b00adf9b94;p=external%2Fbinutils.git * configure.in (hppa*-*-*elf*): Don't require "-hp-" for the manufacturer. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 0c46784..f8b3ba9 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Wed Apr 6 20:48:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * configure.in (hppa*-*-*elf*): Don't require "-hp-" for the + manufacturer. + Tue Apr 5 15:48:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * config/tc-mips.c (mips_ip): For case 'o', when generating diff --git a/gas/configure.in b/gas/configure.in index 7ed350d..d4413c9 100644 --- a/gas/configure.in +++ b/gas/configure.in @@ -42,9 +42,9 @@ case "${host}" in 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 ;; @@ -180,6 +180,7 @@ case ${generic_target} in 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 @@ -188,7 +189,6 @@ case ${generic_target} in # 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 ;; @@ -289,7 +289,7 @@ target_makefile_frag=config/${gas_target}.mt 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 ;; @@ -334,8 +334,7 @@ links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-ta # 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 @@ -349,9 +348,13 @@ case "x${host}" 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 diff --git a/ld/ChangeLog b/ld/ChangeLog index 842dde4..ef81d98 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,8 @@ Wed Apr 6 00:09:37 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + * configure.in (hppa*-*-*elf*): Don't require "-hp-" for the + manufacturer. + * emultempl/hppaelf.em (hppaelf_finish): Only resize sections if building a final executable. diff --git a/ld/configure.in b/ld/configure.in index 1aeae78..a7c91bb 100644 --- a/ld/configure.in +++ b/ld/configure.in @@ -42,10 +42,6 @@ case "${targ}" in 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 ;; @@ -92,7 +88,7 @@ case "${targ}" in 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 ;; @@ -104,6 +100,10 @@ case "${targ}" in 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 ;;