flipperzero-firmware_official_dev 708 B

123456789101112131415161718
  1. commit 9e1a6a6d2ec4a340b2fc0dceda86116044044070
  2. Author: Eric Betts <bettse@fastmail.fm>
  3. Date: Mon Jan 16 01:36:59 2023 -0800
  4. relocate R_ARM_CALL (#2305)
  5. diff --git a/lib/flipper_application/elf/elf_file.c b/lib/flipper_application/elf/elf_file.c
  6. index bf98650a2..64d5755ef 100644
  7. --- a/lib/flipper_application/elf/elf_file.c
  8. +++ b/lib/flipper_application/elf/elf_file.c
  9. @@ -315,6 +315,7 @@ static bool elf_relocate_symbol(ELFFile* elf, Elf32_Addr relAddr, int type, Elf3
  10. FURI_LOG_D(TAG, " R_ARM_ABS32 relocated is 0x%08X", (unsigned int)*((uint32_t*)relAddr));
  11. break;
  12. case R_ARM_THM_PC22:
  13. + case R_ARM_CALL:
  14. case R_ARM_THM_JUMP24:
  15. elf_relocate_jmp_call(elf, relAddr, type, symAddr);
  16. FURI_LOG_D(