[all-commits] [llvm/llvm-project] a821fe: [ELF] scanRelocations: support .crel.eh_frame

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Aug 8 12:03:07 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a821fee312d15941174827a70cb534c2f2fe1177
      https://github.com/llvm/llvm-project/commit/a821fee312d15941174827a70cb534c2f2fe1177
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-08-08 (Thu, 08 Aug 2024)

  Changed paths:
    M lld/ELF/Relocations.cpp
    M lld/test/ELF/crel.s

  Log Message:
  -----------
  [ELF] scanRelocations: support .crel.eh_frame

Follow-up to #98115. For EhInputSection, RelocationScanner::scan calls
sortRels, which doesn't support the CREL iterator. We should set
supportsCrel to false to ensure that the initial_location fields in
.eh_frame FDEs are relocated.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list