diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-01-06 22:45:29 +0100 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-01-06 22:45:29 +0100 |
commit | 6be0d03ae89ffef23a0da0d759fbe36e90ae220a (patch) | |
tree | ad92c0f14ade3948fc23a0af1a2ca1718acc6df1 /02_process_init/Makefile | |
parent | ebf8d357bd09e6eef9bbe74250fea06641090998 (diff) | |
download | dynld-6be0d03ae89ffef23a0da0d759fbe36e90ae220a.tar.gz dynld-6be0d03ae89ffef23a0da0d759fbe36e90ae220a.zip |
disable stack protector for simplicity of these linker studies
Diffstat (limited to '02_process_init/Makefile')
-rw-r--r-- | 02_process_init/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
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: |