Fix index reference (h8/300, not i960).
[deliverable/binutils-gdb.git] / ld / configure.in
CommitLineData
02757e59
SC
1# This file is a shell script fragment that supplies the information
2# necessary to tailor a template configure script into the configure
3# script appropriate for this directory. For more information, check
4# any existing configure script.
5
6srctrigger=ldmain.c
7srcname="linker"
818a192a 8target_dependent=true
02757e59
SC
9
10# per-host:
11
086c5e37 12. ${srcdir}/../bfd/configure.host
02757e59 13
8a60817c 14# Set up to make a link between the host's include file and "sysdep.h".
9d1fe8a4 15files="../bfd/hosts/${my_host}.h"
8a60817c
JG
16links="sysdep.h"
17
818a192a 18if [ ! -f ${srcdir}/${files} ] ; then
086c5e37
PB
19 files=../bfd/hosts/std-host.h
20 echo "[${srcname} has no specific support for host ${host} -- using std-host]"
02757e59 21fi
ab57b174 22
8a60817c 23host_makefile_frag=
ab57b174 24
9d1fe8a4
SC
25if [ -f ${srcdir}/config/${my_host}.mh ] ; then
26 host_makefile_frag=config/${my_host}.mh
8a60817c 27fi
02757e59
SC
28
29# per-target:
30
ab57b174
ILT
31case "${target}" in
32
33 sparc-sun-sunos4*) my_target=sun4
34 ;;
086c5e37 35 m68k-sun-sunos[34]*) my_target=sun3
ab57b174 36 ;;
42b5c739 37 sparclite*-fujitsu-*) my_target=sun4
ab57b174 38 ;;
42b5c739
ILT
39 sparc*-*-aout) my_target=sun4
40 ;;
e637dcf0
KR
41# start-sanitize-v9
42 sparc64*) my_target=sun4
43 ;;
44# end-sanitize-v9
42b5c739
ILT
45 i960-wrs-vxworks*) my_target=i960
46 ;;
47 i960-intel-nindy) my_target=i960
ab57b174
ILT
48 ;;
49 m68k-wrs-vxworks*) my_target=vxworks68
50 ;;
51 m680[01234]0-wrs-vxworks*) my_target=vxworks68
52 ;;
53 m683?2-wrs-vxworks*) my_target=vxworks68
54 ;;
42b5c739 55 sparc*-wrs-vxworks*) my_target=sun4
ab57b174
ILT
56 ;;
57 m68k-ericsson-ose) my_target=ose68
a70947c1
ILT
58 ;;
59 m680[01234]0-ericsson-ose) my_target=ose68
60 ;;
61 m683?2-ericsson-ose) my_target=ose68
ab57b174
ILT
62 ;;
63 *-tandem-none) my_target=st2000 # FIXME needs better name
64 ;;
e637dcf0 65 i386-*-go32) my_target=go32
ab57b174 66 ;;
086c5e37
PB
67 i386-*-sco*) my_target=i386-coff
68 ;;
99e6298a
SC
69 i386-*-coff) my_target=i386-coff
70 ;;
e637dcf0
KR
71 i[34]86-*-bsd) my_target=i386-bsd
72 ;;
b89a86ac
ILT
73 i386-*-aout) my_target=i386-aout
74 ;;
086c5e37
PB
75 i386-*-sysv*) my_target=i386-coff
76 ;;
ab57b174
ILT
77 m88k-*-*) my_target=m88k-bcs
78 ;;
79 a29k-*-udi) my_target=sa29200
80 ;;
81 a29k-*-ebmon) my_target=ebmon29k
82 ;;
83 a29k-*-*) my_target=coff-a29k
84 ;;
85 h8300-*-hms) my_target=coff-h8300
86 ;;
87 h8300-*-xray) my_target=ieee-h8300
88 ;;
89 m68k-sony-*) my_target=news
90 ;;
91 m68k-hp-bsd*) my_target=hp300bsd
92 ;;
93 m68*-*-aout) my_target=m68k
94 ;;
95 m68*-*-coff) my_target=m68k-coff
96 ;;
97 m68*-*-*) echo '***' "Unknown m68k target vendor for ld:" ${target_vendor} 1>&2
98 exit 1
99 ;;
42b5c739
ILT
100 mips-dec-ultrix*) my_target=mips-lit
101 ;;
e637dcf0
KR
102 mips-sgi-irix*) my_target=mips-big
103 ;;
104 mips-dec-bsd*) my_target=mipsbsd
105 ;;
b89a86ac
ILT
106 z8k-*sim) my_target=z8ksim
107 ;;
ab57b174
ILT
108 *-*-aout) my_target=${target_cpu}-${target_vendor}
109 ;;
110 *-*-coff) my_target=${target_cpu}-${target_vendor}
111 ;;
02757e59
SC
112esac
113
ab57b174
ILT
114
115
9d1fe8a4 116target_makefile_frag=config/${my_target}.mt
This page took 0.062372 seconds and 4 git commands to generate.