LoongArch Variable Attributes (Using the GNU Compiler Collection (GCC)) (original) (raw)
Next: M32R/D Variable Attributes, Previous: IA-64 Variable Attributes, Up: Specifying Attributes of Variables [Contents][Index]
6.4.2.7 LoongArch Variable Attributes ¶
One attribute is currently defined for the LoongArch.
model("name")
¶
Use this attribute on the LoongArch to use a different code model for addressing this variable, than the code model specified by the global-mcmodel option. This attribute is mostly useful if asection
attribute and/or a linker script will locate this object specially. Currently the only supported values of name arenormal
and extreme
.