[all-commits] [llvm/llvm-project] 76f0d4: [ELF, test] Improve .relr.auth.dyn -> .rela.dyn mov...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Jul 12 00:30:35 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76f0d4693463ec2c09b4e14eca8f96020bb710e6
      https://github.com/llvm/llvm-project/commit/76f0d4693463ec2c09b4e14eca8f96020bb710e6
  Author: Fangrui Song <i at maskray.me>
  Date:   2026-07-12 (Sun, 12 Jul 2026)

  Changed paths:
    M lld/test/ELF/aarch64-reloc-pauth.s
    M lld/test/ELF/pack-dyn-relocs-relr-loop.s

  Log Message:
  -----------
  [ELF,test] Improve .relr.auth.dyn -> .rela.dyn movement coverage (#208991)

Test two behaviors of #195649 that were unasserted:

- .dynamic shrinks when all .relr.auth.dyn entries are moved to a
  non-empty .rela.dyn. Check the section header size: readelf -d stops
  at the first DT_NULL and cannot show stale padding. This subsumes
  empty-relr.s (a size-neutral tag swap, which passed even without the
  fix), so remove it.
- An empty .rela.dyn is removed when .relr.auth.dyn is unused. Assert
  this in pack-dyn-relocs-relr-loop.s.



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