Skip to content

Commit

Permalink
elf: shared library (#15)
Browse files Browse the repository at this point in the history
Contains default symbol versions.
  • Loading branch information
philipc authored Jul 19, 2024
1 parent cebc896 commit 7651ef6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions elf/base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Binary file added elf/libbase.so
Binary file not shown.

0 comments on commit 7651ef6

Please sign in to comment.