HomeFreeBSD

arm: enable stack-smashing protection

Description

arm: enable stack-smashing protection

With current generation clang/llvm it can pass all of our tests in
libc/ssp.

While here, remove the extra MACHINE_CPUARCH check for mips. SSP is
included in BROKEN_OPTIONS for this architecture in src.opts.mk, which
is enough to ensure normal builds won't set SSP_CFLAGS.

Reviewed by: kevans, imp, emaste
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D31400

(cherry picked from commit 1b8db4b4e3614ef6334ce776dcdd46fe7f2c5a78)

Details

Provenance
mhorneAuthored on Aug 4 2021, 6:18 PM
Reviewer
kevans
Differential Revision
D31400: arm: enable ssp
Parents
rGe8e5d75e6a96: llvm/powerpc64*: fix broken binaries generated by clang12
Branches
Unknown
Tags
Unknown