pkarashchenko commented on a change in pull request #5600: URL: https://github.com/apache/incubator-nuttx/pull/5600#discussion_r813873454
########## File path: libs/libc/machine/arm/armv7-a/arch_elf.c ########## @@ -163,7 +172,12 @@ int up_relocate(FAR const Elf32_Rel *rel, FAR const Elf32_Sym *sym, } offset += sym->st_value - addr; + +#ifdef CONFIG_ARM_THUMB + if (offset & 2 || offset < (int32_t) 0xfe000000 || Review comment: ```suggestion if ((offset & 2) != 0 || offset < (int32_t) 0xfe000000 || ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org