Compare commits

..

1 Commits

Author SHA1 Message Date
Nicolas Kruse fc12bc769b
Merge 2be97956ab into 842be33939 2026-02-28 20:24:16 +00:00
1 changed files with 3 additions and 0 deletions

View File

@ -589,6 +589,9 @@ class elf_file:
if name == 'R_ARM_THM_MOVT_ABS':
return imm16 << 16
return imm16
if '_THM_' in name:
warnings.warn(f'Thumb relocation addend extraction is for {name} not implemented', stacklevel=2)
return 0
if '_MIPS_' in name:
warnings.warn('Warning: MIPS relocations addend extraction is not implemented', stacklevel=2)
return 0