elf: add files with sframe sections (#27)

This commit is contained in:
Philip Craig
2025-08-07 12:57:49 +10:00
committed by GitHub
parent 5b121e59e3
commit 6f73be4563
3 changed files with 2 additions and 0 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+2
View File
@@ -3,6 +3,8 @@ gcc -c base.c -o base.o
gcc base.c -o base -Xlinker --hash-style=both
objcopy --only-keep-debug base base.debug
llvm-objcopy-6.0 --strip-sections base base.strip
gcc-15 -c base.c -o base-sframe.o -Wa,--gsframe
gcc-15 base.c -o base-sframe -Wa,--gsframe
x86_64-linux-gnu-gcc-11 -fcf-protection=full -c base.c -o base-x86_64-gnu-properties.o
aarch64-linux-gnu-gcc -c base.c -o base-aarch64.o
aarch64-linux-gnu-gcc base.c -o base-aarch64