Skip to content

Commit 5be15cc

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 4b5cb61 commit 5be15cc

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
@@ -548,7 +548,8 @@ do { \
548548
"\n\t.type\t" #name ",@object")
549549

550550
#elif defined(CONFIG_NIOS2) || defined(CONFIG_RISCV) || \
551-
defined(CONFIG_XTENSA) || defined(CONFIG_MIPS)
551+
defined(CONFIG_XTENSA) || defined(CONFIG_MIPS) || \
552+
defined(CONFIG_OPENRISC)
552553

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

0 commit comments

Comments
 (0)