elf: shared library (#15)

Contains default symbol versions.
This commit is contained in:
Philip Craig
2024-07-19 16:07:36 +10:00
committed by GitHub
parent cebc896743
commit 7651ef6c5b
2 changed files with 1 additions and 0 deletions
+1
View File
@@ -14,3 +14,4 @@ gcc -fdebug-prefix-map=`pwd`=/object/testfiles/elf -g -c base.c -o base-debug.o
objcopy --compress-debug-sections=zlib-gnu base-debug.o base-debug-zlib-gnu.o
objcopy --compress-debug-sections=zlib base-debug.o base-debug-zlib.o
objcopy --compress-debug-sections=zstd base-debug.o base-debug-zstd.o
gcc -shared -fPIC -o libbase.so base.c -Wl,--default-symver
Executable
BIN
View File
Binary file not shown.