* configure.in (hppa*-*-*elf*): Don't require "-hp-" for the
authorJeff Law <law@redhat.com>
Thu, 7 Apr 1994 03:49:18 +0000 (03:49 +0000)
committerJeff Law <law@redhat.com>
Thu, 7 Apr 1994 03:49:18 +0000 (03:49 +0000)
        manufacturer.

gas/ChangeLog
gas/configure.in
ld/ChangeLog
ld/configure.in

index 0c46784bff0b870e0c44c59b4fd2d8944283ace0..f8b3ba97b699107fac97066211e0ce99f706148c 100644 (file)
@@ -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
index 7ed350df06052270e38f87ad5f327fafcef076af..d4413c9f442081f1620ca4e0a0568655bf227801 100644 (file)
@@ -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
index 842dde40d216688e89b12812c38918a8b231064a..ef81d98fb3026be9c978c7d193842bdd300b909e 100644 (file)
@@ -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.
 
index 1aeae78a17d22d55ae58df3963ea899f3c157d31..a7c91bba9d78775de41457bb3fbcafd048a69198 100644 (file)
@@ -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 ;;