blob: 8ebdd7442402b9f35337782fd0e6f57756e97032 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
# Super-H specific configuration file
## no-package
## select ARCH_SUPPORTS_32
## select ARCH_DEFAULT_32
## select ARCH_SUPPORTS_FLAT_FORMAT
## select ARCH_SUPPORTS_EITHER_ENDIAN
## select ARCH_DEFAULT_LE
## select ARCH_REQUIRES_MULTILIB
## select ARCH_SUPPORTS_WITH_ENDIAN
##
## help The Super-H architecture, as defined by:
## help http://www.renesas.com/fmwk.jsp?cnt=superh_family_landing.jsp&fp=/products/mpumcu/superh_family/
choice
bool
prompt "Variant"
# GCC supports both endiannesses even if a specific CPU is selected (so long
# as that CPU can be both BE/LE), but the binutils (or specifically, ld)
# configures for both endiannesses only if sh-*-linux target is selected.
# --with-cpu can be used to set the mmu and precision options,
# so dont include the options aswell
config ARCH_SH_SH
bool
prompt "unspecified"
select ARCH_SUPPORTS_BOTH_ENDIAN
select ARCH_SUPPORTS_WITH_CPU
help
If left unspecified, GCC will determine the set of multilibs to compile automatically
based on selected endianness, FPU mode and OS.
config ARCH_SH_SH1
bool
prompt "sh1"
config ARCH_SH_SH2
bool
prompt "sh2"
config ARCH_SH_SH2E
bool
prompt "sh2e"
config ARCH_SH_SH2A
bool
prompt "sh2a"
config ARCH_SH_SH3
bool
prompt "sh3"
config ARCH_SH_SH3E
bool
prompt "sh3e"
config ARCH_SH_SH4
bool
prompt "sh4"
config ARCH_SH_SH4A
bool
prompt "sh4a"
config ARCH_SH_SH4AL
bool
prompt "sh4al"
endchoice
config ARCH_SH_VARIANT
string
default "sh" if ARCH_SH_SH
default "sh1" if ARCH_SH_SH1
default "sh2" if ARCH_SH_SH2
default "sh2e" if ARCH_SH_SH2E
default "sh2a" if ARCH_SH_SH2A
default "sh3" if ARCH_SH_SH3
default "sh3e" if ARCH_SH_SH3E
default "sh4" if ARCH_SH_SH4
default "sh4a" if ARCH_SH_SH4A
default "sh4al" if ARCH_SH_SH4AL
config ARCH_SH_ENABLE_FPU_OPTIONS
bool
default y if ARCH_SH_SH2A
default y if ARCH_SH_SH4
default y if ARCH_SH_SH4A
select ARCH_SUPPORTS_BOTH_MMU
select ARCH_DEFAULT_HAS_MMU
config ARCH_SH_ENABLE_PRECISION_OPTIONS
bool
default y if ARCH_USE_MMU
select ARCH_SUPPORTS_WITH_FLOATING_PRECISION
select ARCH_SUPPORTS_PRECISION_UNSPECIFIED
select ARCH_SUPPORTS_PRECISION_SINGLE_ONLY
select ARCH_SUPPORTS_PRECISION_SINGLE_WITH_DOUBLE
select ARCH_DEFAULT_PRECISION_UNSPECIFIED
config ARCH_SH_FLOAT_SUFFIX
string
default "" if !ARCH_SH_ENABLE_FPU_OPTIONS
default "_nofpu" if !ARCH_USE_MMU
default "_single" if ARCH_FLOATING_PRECISION_SINGLE_WITH_DOUBLE
default "_single_only" if ARCH_FLOATING_PRECISION_SINGLE_ONLY
|