-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
When building some Buildroot packages for ARM Cortex-M (ARMv7-M), we sometimes see movt/movw instructions generated with corresponding R_ARM_THM_MOVW_ABS_NC and/or R_ARM_THM_MOVT_ABS relocations generated:
00000380 00003f2f R_ARM_THM_MOVW_AB 00000000 PawnHashKey
00000388 00003f30 R_ARM_THM_MOVT_AB 00000000 PawnHashKey
00000464 00003f2f R_ARM_THM_MOVW_AB 00000000 PawnHashKey
00000470 00003f30 R_ARM_THM_MOVT_AB 00000000 PawnHashKey
Unfortunately, these types of relocations are not handled by elf2flt, which errors out with:
ERROR: reloc type R_ARM_THM_MOVW_ABS_NC unsupported in this context
ERROR: reloc type R_ARM_THM_MOVT_ABS unsupported in this context
ERROR: reloc type R_ARM_THM_MOVW_ABS_NC unsupported in this context
ERROR: reloc type R_ARM_THM_MOVT_ABS unsupported in this context
Would it be possible to add support for these relocation types ?
Metadata
Metadata
Assignees
Labels
No labels