[all-commits] [llvm/llvm-project] 26464f: [FreeBSD] Mark __stack_chk_guard dso_local except ...

Justin Cady via All-commits all-commits at lists.llvm.org
Wed Mar 27 06:04:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26464f2662d13c7c6ef9f8180b1653c046cd60a7
      https://github.com/llvm/llvm-project/commit/26464f2662d13c7c6ef9f8180b1653c046cd60a7
  Author: Justin Cady <desk at justincady.com>
  Date:   2024-03-27 (Wed, 27 Mar 2024)

  Changed paths:
    M llvm/lib/CodeGen/TargetLoweringBase.cpp
    M llvm/test/CodeGen/X86/stack-protector.ll

  Log Message:
  -----------
  [FreeBSD] Mark __stack_chk_guard dso_local except for PPC64 (#86665)

Adjust logic of 1cb9f37a17ab to match freebsd/freebsd-src at 9a4d48a645a7a.

D113443 is the original attempt to bring this FreeBSD patch to
llvm-project,
but it never landed. This change is required to build FreeBSD kernel
modules
with -fstack-protector using a standard LLVM toolchain. The FreeBSD
kernel
loader does not handle R_X86_64_REX_GOTPCRELX relocations.

Fixes #50932.



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