[all-commits] [llvm/llvm-project] 1d4c00: [lld/ELF] Hint if R_X86_64_PC32 overflows and refe...

Arthur Eubanks via All-commits all-commits at lists.llvm.org
Wed Jan 17 15:39:11 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d4c0092a82aa351c5a6e9e501cc5edbc6c0477f
      https://github.com/llvm/llvm-project/commit/1d4c0092a82aa351c5a6e9e501cc5edbc6c0477f
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2024-01-17 (Wed, 17 Jan 2024)

  Changed paths:
    M lld/ELF/Relocations.cpp
    A lld/test/ELF/x86-64-pc32-overflow-large.s

  Log Message:
  -----------
  [lld/ELF] Hint if R_X86_64_PC32 overflows and references a SHF_X86_64_LARGE section (#73045)

Makes it clearer what the issue is when hand-written assembly doesn't
follow medium code model assumptions in a medium code model build.

Alternative to #71248 by only hinting on an overflow.




More information about the All-commits mailing list