zephyr/include/toolchain
Daniel Leung 92c12d1f82 toolchain: add GEN_ABSOLUTE_SYM_KCONFIG()
This adds a new GEN_ABSOLUTE_SYM_KCONFIG() specifically for
generating absolute symbols in assembly for kconfig values.
This is needed as the existing GEN_ABSOLUTE_SYM() with
constraints in extended assembly parses the "value" as
signed 32-bit integers. An unsigned 32-bit integer with
MSB set results in a negative number in the final binary.
This also prevents integers larger than 32-bit. So this
new macro simply puts the value inline within the assembly
instrcution instead of having it as parameter.

Fixes #31562

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2021-02-02 09:23:45 -05:00
..
common.h sparc: Add compiler and linker tool support 2020-11-13 14:53:55 -08:00
gcc.h toolchain: add GEN_ABSOLUTE_SYM_KCONFIG() 2021-02-02 09:23:45 -05:00
mwdt.h toolchain: define __no_optimization attribute across toolchains 2020-10-06 11:41:23 -04:00
xcc_missing_defs.h
xcc.h
zephyr_stdint.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00