Skip to content

Commit 57ac604

Browse files
committed
toolchain: gcc: Add GEN_ABSOLUTE_SYM definitions for OpenRISC
Existing versions of GEN_ABSOLUTE_SYM and GEN_ABSOLUTE_SYM_KCONFIG are defined for all supported architectures. This patch adds a definition of the same kind used for MIPS, Nios II, RISC-V and Xtensa. Signed-off-by: Joel Holdsworth <[email protected]>
1 parent f040627 commit 57ac604

File tree

1 file changed

+2
-1
lines changed
  • include/zephyr/toolchain

1 file changed

+2
-1
lines changed

include/zephyr/toolchain/gcc.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,8 @@ do { \
552552
"\n\t.type\t" #name ",@object")
553553

554554
#elif defined(CONFIG_NIOS2) || defined(CONFIG_RISCV) || \
555-
defined(CONFIG_XTENSA) || defined(CONFIG_MIPS)
555+
defined(CONFIG_XTENSA) || defined(CONFIG_MIPS) || \
556+
defined(CONFIG_OPENRISC)
556557

557558
/* No special prefixes necessary for constants in this arch AFAICT */
558559
#define GEN_ABSOLUTE_SYM(name, value) \

0 commit comments

Comments
 (0)