[all-commits] [llvm/llvm-project] c39d39: ELFObjectWriter: Remove relocation specifier test ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Mar 23 11:51:21 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c39d39303833c515f11921a96a97d668ed3fddf2
      https://github.com/llvm/llvm-project/commit/c39d39303833c515f11921a96a97d668ed3fddf2
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-03-23 (Sun, 23 Mar 2025)

  Changed paths:
    M llvm/lib/MC/ELFObjectWriter.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp

  Log Message:
  -----------
  ELFObjectWriter: Remove relocation specifier test from shouldRelocateWithSymbol

It's the decision of backend needsRelocateWithSymbol whether the
STT_SECTION adjustment should be suppressed.

test/MC/AArch64/data-directive-specifier.s demonstrates how to test this
property.



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