Node:M32R/D Options, Next:M88K Options, Previous:MN10300 Options, Up:Submodel Options
These -m
options are defined for Mitsubishi M32R/D architectures:
-m32rx
-m32r
-mcode-model=small
ld24
instruction), and assume all subroutines
are reachable with the bl
instruction.
This is the default.
The addressability of a particular object can be set with the
model
attribute.
-mcode-model=medium
seth/add3
instructions to load their addresses), and
assume all subroutines are reachable with the bl
instruction.
-mcode-model=large
seth/add3
instructions to load their addresses), and
assume subroutines may not be reachable with the bl
instruction
(the compiler will generate the much slower seth/add3/jl
instruction sequence).
-msdata=none
.data
, bss
, or .rodata
(unless the
section
attribute has been specified).
This is the default.
The small data area consists of sections .sdata
and .sbss
.
Objects may be explicitly put in the small data area with the
section
attribute using one of these sections.
-msdata=sdata
-msdata=use
-G num
-msdata
option must be set to one of sdata
or use
for this option to have any effect.
All modules should be compiled with the same -G num
value.
Compiling with different values of num may or may not work; if it
doesn't the linker will give an error message--incorrect code will not be
generated.