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