-
CONFIG_GP_GLOBAL
¶
Global data global pointer references
Type: bool
Help¶
Use global pointer relative offsets for small globals declared anywhere in the executable. Note that if any small globals that are put in alternate sections (such as _k_task_list_ptr) they must be declared in headers with proper __attribute__((section)) or the linker will error out.
Direct dependencies¶
<choice: Global Pointer options>
(Includes any dependencies from if’s and menus.)
Kconfig definition¶
At arch/nios2/Kconfig:99
Included via Kconfig:10
→ Kconfig.zephyr:23
→ arch/Kconfig:16
Menu path: (top menu) → Nios II Options → Nios II Family Options → Global Pointer options
config GP_GLOBAL bool prompt "Global data global pointer references" if <choice: Global Pointer options> depends on <choice: Global Pointer options> help Use global pointer relative offsets for small globals declared anywhere in the executable. Note that if any small globals that are put in alternate sections (such as _k_task_list_ptr) they must be declared in headers with proper __attribute__((section)) or the linker will error out.
(Definitions include propagated dependencies, including from if’s and menus.)