From 6be0d03ae89ffef23a0da0d759fbe36e90ae220a Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Fri, 6 Jan 2023 22:45:29 +0100 Subject: disable stack protector for simplicity of these linker studies --- 03_hello_dynld/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to '03_hello_dynld/Makefile') diff --git a/03_hello_dynld/Makefile b/03_hello_dynld/Makefile index 0db8281..76c4f2e 100644 --- a/03_hello_dynld/Makefile +++ b/03_hello_dynld/Makefile @@ -23,6 +23,7 @@ dynld.so: dynld.S dynld.c ../lib/libcommon.a -fvisibility=hidden \ -Wl,--entry=dl_start \ -Wl,--no-undefined \ + -fno-stack-protector \ $^ @if ! readelf -r $@ | grep 'There are no relocations in this file' >& /dev/null; then \ -- cgit v1.2.3