aboutsummaryrefslogtreecommitdiff
path: root/03_hello_dynld/Makefile
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-01-06 22:45:29 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-01-06 22:45:29 +0100
commit6be0d03ae89ffef23a0da0d759fbe36e90ae220a (patch)
treead92c0f14ade3948fc23a0af1a2ca1718acc6df1 /03_hello_dynld/Makefile
parentebf8d357bd09e6eef9bbe74250fea06641090998 (diff)
downloaddynld-6be0d03ae89ffef23a0da0d759fbe36e90ae220a.tar.gz
dynld-6be0d03ae89ffef23a0da0d759fbe36e90ae220a.zip
disable stack protector for simplicity of these linker studies
Diffstat (limited to '03_hello_dynld/Makefile')
-rw-r--r--03_hello_dynld/Makefile1
1 files changed, 1 insertions, 0 deletions
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 \