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 --- 02_process_init/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to '02_process_init') diff --git a/02_process_init/Makefile b/02_process_init/Makefile index 0b51903..4f3d98c 100644 --- a/02_process_init/Makefile +++ b/02_process_init/Makefile @@ -4,12 +4,13 @@ show: entry ./entry 1 2 3 4 entry: entry.S entry.c ../lib/libcommon.a - gcc -o $@ \ - -g -O0 \ - -Wall -Wextra \ - -I../lib/include \ - -nostdlib \ - -static \ + gcc -o $@ \ + -g -O0 \ + -Wall -Wextra \ + -I../lib/include \ + -nostdlib \ + -static \ + -fno-stack-protector \ $^ ../lib/libcommon.a: -- cgit v1.2.3