Keep m88kbcs.em
[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
8ddef552
DM
12. ${srcdir}/../bfd/configure.host
13
8a60817c 14host_makefile_frag=
ab57b174 15
9d1fe8a4
SC
16if [ -f ${srcdir}/config/${my_host}.mh ] ; then
17 host_makefile_frag=config/${my_host}.mh
8a60817c 18fi
02757e59
SC
19
20# per-target:
21
ab57b174
ILT
22case "${target}" in
23
24 sparc-sun-sunos4*) my_target=sun4
25 ;;
086c5e37 26 m68k-sun-sunos[34]*) my_target=sun3
ab57b174 27 ;;
42b5c739 28 sparclite*-fujitsu-*) my_target=sun4
ab57b174 29 ;;
e637dcf0 30# start-sanitize-v9
f90bb826
KR
31 sparc64-*-elf*) my_target=sparc64-elf
32 ;;
e637dcf0
KR
33 sparc64*) my_target=sun4
34 ;;
35# end-sanitize-v9
ba9ca6a3
KR
36 sparc*-*-aout) my_target=sun4
37 ;;
38 sparc*-*-elf) my_target=sun4sol2
39 ;;
40 sparc*-*-solaris2*) my_target=sun4sol2
41 ;;
42b5c739
ILT
42 i960-wrs-vxworks*) my_target=i960
43 ;;
44 i960-intel-nindy) my_target=i960
ab57b174
ILT
45 ;;
46 m68k-wrs-vxworks*) my_target=vxworks68
47 ;;
48 m680[01234]0-wrs-vxworks*) my_target=vxworks68
49 ;;
50 m683?2-wrs-vxworks*) my_target=vxworks68
51 ;;
42b5c739 52 sparc*-wrs-vxworks*) my_target=sun4
ab57b174
ILT
53 ;;
54 m68k-ericsson-ose) my_target=ose68
a70947c1
ILT
55 ;;
56 m680[01234]0-ericsson-ose) my_target=ose68
57 ;;
58 m683?2-ericsson-ose) my_target=ose68
ab57b174
ILT
59 ;;
60 *-tandem-none) my_target=st2000 # FIXME needs better name
61 ;;
034351e3 62 i[34]86-*-go32) my_target=go32
ab57b174 63 ;;
7f2649bb
PB
64 i[34]86-*-aix*) my_target=i386-coff
65 ;;
034351e3 66 i[34]86-*-sco*) my_target=i386-coff
086c5e37 67 ;;
034351e3 68 i[34]86-*-coff) my_target=i386-coff
99e6298a 69 ;;
e637dcf0
KR
70 i[34]86-*-bsd) my_target=i386-bsd
71 ;;
034351e3 72 i[34]86-*-aout) my_target=i386-aout
b89a86ac 73 ;;
034351e3 74 i[34]86-*-sysv*) my_target=i386-coff
086c5e37 75 ;;
ab57b174
ILT
76 m88k-*-*) my_target=m88k-bcs
77 ;;
78 a29k-*-udi) my_target=sa29200
79 ;;
80 a29k-*-ebmon) my_target=ebmon29k
81 ;;
82 a29k-*-*) my_target=coff-a29k
83 ;;
5448fed5
DE
84 h8300-*-hms) my_target=coff-h8300
85 ;;
86 h8300h-*-hms) my_target=coff-h8300h
ab57b174 87 ;;
034351e3 88 h8500-*-hms) my_target=coff-h8500
ab57b174 89 ;;
034351e3
PB
90 sh-*-*) my_target=coff-sh
91 ;;
ab57b174
ILT
92 m68k-sony-*) my_target=news
93 ;;
94 m68k-hp-bsd*) my_target=hp300bsd
95 ;;
96 m68*-*-aout) my_target=m68k
97 ;;
98 m68*-*-coff) my_target=m68k-coff
99 ;;
7f2649bb
PB
100 m68*-*-hpux) my_target=hp300hpux
101 ;;
ab57b174
ILT
102 m68*-*-*) echo '***' "Unknown m68k target vendor for ld:" ${target_vendor} 1>&2
103 exit 1
104 ;;
7f2649bb
PB
105 hppa*-hp-osf) my_target=hppaosf
106 ;;
034351e3
PB
107 vax-dec-ultrix* | vax-dec-bsd*) my_target=vax
108 ;;
42b5c739
ILT
109 mips-dec-ultrix*) my_target=mips-lit
110 ;;
e637dcf0
KR
111 mips-sgi-irix*) my_target=mips-big
112 ;;
7f2649bb
PB
113 mips-idt-ecoffl*) my_target=mips-idtl
114 ;;
115 mips-idt-ecoff*) my_target=mips-idt
034351e3 116 ;;
e637dcf0
KR
117 mips-dec-bsd*) my_target=mipsbsd
118 ;;
b89a86ac
ILT
119 z8k-*sim) my_target=z8ksim
120 ;;
ab57b174
ILT
121 *-*-aout) my_target=${target_cpu}-${target_vendor}
122 ;;
123 *-*-coff) my_target=${target_cpu}-${target_vendor}
124 ;;
02757e59
SC
125esac
126
9d1fe8a4 127target_makefile_frag=config/${my_target}.mt
7f2649bb
PB
128
129if [ ! -r ${srcdir}/${target_makefile_frag} ]; then
130 echo '***' GNU LD does not support target ${target} 1>&2
131 exit 1
132fi
8ddef552 133
173a0c3d 134mkdir ldscripts 2>/dev/null
This page took 0.079133 seconds and 4 git commands to generate.