From 06164c6773799f4003fd4716d542411bdf57006e Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 11 Jul 2017 13:40:56 -0700 Subject: Compile tst-ssp-1.c with -fstack-protector-all Compile tst-ssp-1.c with -fstack-protector-all in case the the stack protector heuristics do not instrument a thirty-byte array. * debug/Makefile (CFLAGS-tst-ssp-1.c): Set to -fstack-protector-all. --- debug/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debug') diff --git a/debug/Makefile b/debug/Makefile index c6d7872..ce5fa88 100644 --- a/debug/Makefile +++ b/debug/Makefile @@ -139,7 +139,7 @@ LDFLAGS-tst-backtrace4 = -rdynamic LDFLAGS-tst-backtrace5 = -rdynamic LDFLAGS-tst-backtrace6 = -rdynamic -CFLAGS-tst-ssp-1.c = -fstack-protector +CFLAGS-tst-ssp-1.c = -fstack-protector-all tests = backtrace-tst tst-longjmp_chk tst-chk1 tst-chk2 tst-chk3 \ tst-lfschk1 tst-lfschk2 tst-lfschk3 test-strcpy_chk test-stpcpy_chk \ -- cgit v1.1