authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-12-06 15:10:37+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-12-06 15:10:37+01:00
log8f27fc6c072590f4e9047542ee56b85fd133633d
treea24a2ddf60c89cdf2a320b622bdf6376b3552e96
parent65cfc91836adfc4e9ef852b571b6a4f38b943284
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

compiler: Classify libssp as an alias for compiler-rt.

This is a GCC library providing symbols with stack smashing protection. We provide (most of) these symbols in our compiler-rt.

1 files changed, 2 insertions(+), 1 deletions(-)

src/target.zig+2-1
...@@ -269,7 +269,8 @@ pub fn classifyCompilerRtLibName(name: []const u8) CompilerRtClassification {...@@ -269,7 +269,8 @@ pub fn classifyCompilerRtLibName(name: []const u8) CompilerRtClassification {
269 }269 }
270 if (std.mem.eql(u8, name, "compiler_rt") or270 if (std.mem.eql(u8, name, "compiler_rt") or
271 std.mem.eql(u8, name, "gcc") or271 std.mem.eql(u8, name, "gcc") or
272 std.mem.eql(u8, name, "atomic"))272 std.mem.eql(u8, name, "atomic") or
273 std.mem.eql(u8, name, "ssp"))
273 {274 {
274 return .only_compiler_rt;275 return .only_compiler_rt;
275 }276 }