[all-commits] [llvm/llvm-project] 93c16e: [ELF] Actually sort IRELATIVE by offset

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Apr 2 19:34:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93c16e75b8935f6a3f5f39301007f9a42a1f7da1
      https://github.com/llvm/llvm-project/commit/93c16e75b8935f6a3f5f39301007f9a42a1f7da1
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-04-02 (Tue, 02 Apr 2024)

  Changed paths:
    M lld/ELF/SyntheticSections.cpp
    M lld/test/ELF/gnu-ifunc-nonpreemptible.s

  Log Message:
  -----------
  [ELF] Actually sort IRELATIVE by offset

The unstable partition in partitionRels might reverse IRELATIVE
relocations, so stable_partition in computeRels would lead to IRELATIVE
relocations ordered by decreasing offset. Use stable_partition in
partitionRels to get IRELATIVE relocations ordered by increasing offset.



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