Skip to content

Commit

Permalink
[Review] core: asan: initialize __exidx and __extab only for __arm__
Browse files Browse the repository at this point in the history
s/__arm__/ARM32/ (TBD: do it in the subject and description when
squashing this fixup).

Signed-off-by: Jerome Forissier <[email protected]>
  • Loading branch information
jforissier committed Aug 23, 2023
1 parent 6f8cce7 commit cf81adf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/arch/arm/kernel/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ static void init_asan(void)
asan_tag_access(__pageable_start, __pageable_end);
#endif /*CFG_WITH_PAGER*/
asan_tag_access(__nozi_start, __nozi_end);
#if defined(__arm__)
#ifdef ARM32
asan_tag_access(__exidx_start, __exidx_end);
asan_tag_access(__extab_start, __extab_end);
#endif
Expand Down

0 comments on commit cf81adf

Please sign in to comment.