6.34.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 a section attribute and/or a linker script will locate this object specially. Currently the only supported values of name are normal and extreme.