Force -fno-stack-protector on "boot block" that absolutely can't have
authorderaadt <deraadt@openbsd.org>
Sun, 28 Jan 2024 01:07:26 +0000 (01:07 +0000)
committerderaadt <deraadt@openbsd.org>
Sun, 28 Jan 2024 01:07:26 +0000 (01:07 +0000)
commit71e7d8aacb4f4bc7fc9e9ba94456b80cd0f61427
tree3c9f6557544f8898db413ec2ae6b352a0b58ffea
parentcf019d6cacb198a51e02482aebbc665b89b18783
Force -fno-stack-protector on "boot block" that absolutely can't have
a stack protector (probably not even a -fstack-protector-strong) because
the bloat would render them unuseable.  This also means the system
compiler can now take on any more it wants, and all the pieces which
can't use the stack protector are properly marked.
ok kettenis
sys/arch/alpha/stand/Makefile.inc
sys/arch/alpha/stand/boot/Makefile
sys/arch/alpha/stand/nboot/Makefile
sys/arch/alpha/stand/netboot/Makefile
sys/arch/sparc64/stand/libsa/Makefile
sys/arch/sparc64/stand/libz/Makefile
sys/arch/sparc64/stand/ofwboot/Makefile