blob: f36bf7c221cc9cbdbf8dc59e281bdf93f0dd97d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Configuration fragment for GAS.
Set target_arch `echo {target_canonical} | sed -e 's/-.*-.*//'`
# (should canonicalize arch name) */
Set target_format `echo {target_canonical} | sed -e 's/.*-.*-//'`
forward-include "{srcdir}"config:tc-{target_arch}.c targ-cpu.c
forward-include "{srcdir}"config:tc-{target_arch}.h targ-cpu.h
forward-include "{srcdir}"config:obj-{target_format}.c obj-format.c
forward-include "{srcdir}"config:obj-{target_format}.h obj-format.h
# Default emulation.
forward-include "{srcdir}"config:te-generic.h targ-env.h
If "{target_arch}" =~ /ns32k/
forward-include "{srcdir}"config:atof-ns32k.c atof-targ.c
Else If "{target_arch}" =~ /tahoe/
forward-include "{srcdir}"config:atof-tahoe.c atof-targ.c
Else If "{target_arch}" =~ /vax/
forward-include "{srcdir}"config:atof-vax.c atof-targ.c
Else
# Use IEEE by default.
forward-include "{srcdir}"config:atof-ieee.c atof-targ.c
End If
|