mirror of
https://github.com/encounter/object-testfiles.git
synced 2026-07-10 12:18:40 -07:00
add elf file with debug information only (#21)
This commit is contained in:
Executable
BIN
Binary file not shown.
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user