[all-commits] [llvm/llvm-project] 1c5961: ELFObjectWriter: Disable STT_SECTION adjustment fo...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Apr 12 21:00:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c5961c0481b9c7421d38e3141d3c5a1e6084234
      https://github.com/llvm/llvm-project/commit/1c5961c0481b9c7421d38e3141d3c5a1e6084234
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M llvm/lib/MC/ELFObjectWriter.cpp
    M llvm/test/MC/ELF/reloc-directive.s

  Log Message:
  -----------
  ELFObjectWriter: Disable STT_SECTION adjustment for .reloc

to match GNU Assembler. This generalizes the SHT_LLVM_CALL_GRAPH_PROFILE
(which uses BFD_RELOC_NONE https://reviews.llvm.org/D104080) special case.



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