Skip to content

Commit

Permalink
riscv: Enable BUILDTIME_TABLE_SORT
Browse files Browse the repository at this point in the history
Enable BUILDTIME_TABLE_SORT to sort the exception table at build time
rather than during boot.

Signed-off-by: Jisheng Zhang <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
  • Loading branch information
xhackerustc authored and palmer-dabbelt committed Sep 11, 2021
1 parent cbba178 commit 54fed35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/riscv/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ config RISCV
select ARCH_WANT_FRAME_POINTERS
select ARCH_WANT_HUGE_PMD_SHARE if 64BIT
select BINFMT_FLAT_NO_DATA_START_OFFSET if !MMU
select BUILDTIME_TABLE_SORT if MMU
select CLONE_BACKWARDS
select CLINT_TIMER if !MMU
select COMMON_CLK
Expand Down
1 change: 1 addition & 0 deletions scripts/sorttable.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ static int do_file(char const *const fname, void *addr)
case EM_ARM:
case EM_MICROBLAZE:
case EM_MIPS:
case EM_RISCV:
case EM_XTENSA:
break;
default:
Expand Down

0 comments on commit 54fed35

Please sign in to comment.