:orphan: .. title:: GP_GLOBAL .. option:: 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 they must be declared in headers with proper __attribute__((section)) or the linker will error out. Direct dependencies =================== \ :ref:` ` *(Includes any dependencies from if's and menus.)* Kconfig definition ================== .. highlight:: kconfig At ``arch/nios2/Kconfig:83`` Included via ``Kconfig:10`` → ``Kconfig.zephyr:29`` → ``arch/Kconfig:15`` Menu path: (top menu) → Nios II Options → Nios II Family Options → Global Pointer options .. parsed-literal:: config GP_GLOBAL bool prompt "Global data global pointer references" if \ :ref:` ` depends on \ :ref:` ` 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 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.)*