add elf file with debug information only (#21)

This commit is contained in:
Timo von Hartz
2025-02-21 23:10:12 +10:00
committed by GitHub
parent 35924ae16e
commit b79486a334
2 changed files with 1 additions and 0 deletions
Executable
BIN
View File
Binary file not shown.
+1
View File
@@ -17,3 +17,4 @@ objcopy --compress-debug-sections=zstd base-debug.o base-debug-zstd.o
gcc -shared -fPIC -o libbase.so base.c -Wl,--default-symver
x86_64-linux-gnu-gcc-13 base.c -o base-relr-x86_64 -Wl,-z,pack-relative-relocs
i686-linux-gnu-gcc-13 base.c -o base-relr-i686 -Wl,-z,pack-relative-relocs
objcopy --only-keep-debug base base.debug