:orphan: .. title:: CONFIG_GP_GLOBAL .. kconfig:: CONFIG_GP_GLOBAL CONFIG_GP_GLOBAL ################ *Global data global pointer references* Type: ``bool`` Help ==== .. code-block:: none 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 ifs and menus.)* Kconfig definition ================== At ``/nios2/Kconfig:77`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:39`` → ``/Kconfig:12`` Menu path: (Top) → Nios II Options → Nios II Family Options → Global Pointer options .. code-block:: kconfig config GP_GLOBAL bool "Global data global pointer references" depends on 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. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*