aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.in
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1992-12-22 23:46:19 +0000
committerPer Bothner <per@bothner.com>1992-12-22 23:46:19 +0000
commit086c5e37f4a1de76b0e528ca9caa642cdc4b63df (patch)
tree6c17717aba1d8d06d72bab9f7a60620051fc87a8 /ld/configure.in
parent2f5e51f726c367215c4cc8c923616d129f5b6840 (diff)
downloadgdb-086c5e37f4a1de76b0e528ca9caa642cdc4b63df.zip
gdb-086c5e37f4a1de76b0e528ca9caa642cdc4b63df.tar.gz
gdb-086c5e37f4a1de76b0e528ca9caa642cdc4b63df.tar.bz2
* ldexp.c, ldlang.c, ldmain.c, ldsym.c, ldwarn.c: Use new
macro bfd_asymbol_bfd as appropriate. * Makefile.in: Un-duplicate ldlex.c dependency. * condigure.in: Replace my_host case table by sourcing ../bfd/configure.host. Allow std-host as the default. * ldmisc.c: Change logic for C++ name demangling: There is no initial '_' to remove from stab-derived function names.
Diffstat (limited to 'ld/configure.in')
-rw-r--r--ld/configure.in77
1 files changed, 8 insertions, 69 deletions
diff --git a/ld/configure.in b/ld/configure.in
index de06382..bfe527a 100644
--- a/ld/configure.in
+++ b/ld/configure.in
@@ -9,80 +9,15 @@ target_dependent=true
# per-host:
-case "${host}" in
-
- rs6000-ibm-aix*) my_host=rs6000
- ;;
- hppa*-hp-hpux) my_host=hppahpux
- ;;
- hppa*-hp-bsd) my_host=hppabsd
- ;;
- mips-dec-ultrix*) my_host=decstation
- ;;
- mips-sgi-irix3*) my_host=irix3
- ;;
- mips-sgi-irix4*) my_host=irix4
- ;;
- m88k-motorola-*) my_host=delta88
- ;;
- m88k-dg-dgux*) my_host=dgux
- ;;
- m68k-cbm-amigados) my_host=amigados
- ;;
- m68k-cbm-svr4) my_host=amix
- ;;
- m68k-hp-hpux) my_host=hp300
- ;;
- m68k-hp-bsd) my_host=hp300bsd
- ;;
- m68k-apollo*-sysv*) my_host=apollov68
- ;;
- m68k-apollo*-bsd*) my_host=apollo68
- ;;
- m68k-sony-*) my_host=news
- ;;
- m68k-sun-sunos*) my_host=sun3
- ;;
- i386-go32-*) my_host=go32
- ;;
- i386-*-sysv) my_host=i386v
- ;;
- i386-*-isc) my_host=isc
- ;;
- i386-*-mach) my_host=i386mach
- ;;
- i386-*-bsd) my_host=i386-aout
- ;;
- i386-*-msdos) my_host=dose
- ;;
- sparc-sun-sunos64) my_host=sparc-ll
- ;;
- sparc-sun-sunos4*) my_host=sparc
- ;;
- sparc-sun-solaris2) my_host=solaris2
- ;;
- romp-*-*) my_host=rtbsd
- ;;
- a29k-*-*) my_host=ultra3
- ;;
- tahoe-*-*) my_host=tahoe
- ;;
- vax-dec-ultrix*) my_host=vaxult
- ;;
- vax-dec-bsd*) my_host=vaxbsd
- ;;
-esac
+. ${srcdir}/../bfd/configure.host
# Set up to make a link between the host's include file and "sysdep.h".
files="../bfd/hosts/${my_host}.h"
links="sysdep.h"
if [ ! -f ${srcdir}/${files} ] ; then
- if [ -n "${my_host}" ] ; then
- echo '***' No file ${srcdir}/${files} 1>&2
- fi
- echo '***' ${srcname} does not support host ${host} 1>&2
- exit 1
+ files=../bfd/hosts/std-host.h
+ echo "[${srcname} has no specific support for host ${host} -- using std-host]"
fi
host_makefile_frag=
@@ -97,7 +32,7 @@ case "${target}" in
sparc-sun-sunos4*) my_target=sun4
;;
- m68k-sun-sunos4*) my_target=sun3
+ m68k-sun-sunos[34]*) my_target=sun3
;;
sparclite-fujitsu-*) my_target=sun4
;;
@@ -117,10 +52,14 @@ case "${target}" in
;;
i386-go32-*) my_target=go32
;;
+ i386-*-sco*) my_target=i386-coff
+ ;;
i386-*-coff) my_target=i386-coff
;;
i386-*-aout) my_target=i386-aout
;;
+ i386-*-sysv*) my_target=i386-coff
+ ;;
m88k-*-*) my_target=m88k-bcs
;;
a29k-*-udi) my_target=sa29200