Skip to content

Commit

Permalink
Revert "toolchain: gcc: Remove ref. to undefined sym. CONFIG_ISA_ARM"
Browse files Browse the repository at this point in the history
This reverts commit e20fd5f.

This is needed for Cortex-R support.

Signed-off-by: Bradley Bolen <[email protected]>
  • Loading branch information
Bradley Bolen authored and ioannisg committed Aug 9, 2019
1 parent 571d3b5 commit 7daf42b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/toolchain/gcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@ do { \
#define FUNC_CODE() .thumb;
#define FUNC_INSTR(a)

#elif defined(CONFIG_ISA_ARM)

#define FUNC_CODE() .code 32
#define FUNC_INSTR(a)

#else

#error unknown instruction set
Expand Down

0 comments on commit 7daf42b

Please sign in to comment.