Removed warning for non-implemented ARM Thumb relocations, raises error now

This commit is contained in:
Nicolas 2026-03-01 10:10:38 +01:00
parent 2be97956ab
commit 345b0e6db8
1 changed files with 0 additions and 3 deletions

View File

@ -589,9 +589,6 @@ 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