aboutsummaryrefslogtreecommitdiff
path: root/04_dynld_nostd/Makefile
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2021-04-21 23:41:59 +0200
committerjohannst <johannes.stoelp@gmail.com>2021-04-21 23:41:59 +0200
commit85230524414b6d27664bf77c8584bfeced6c71cb (patch)
treea407d634cbd379dbdf4451fee4abfd64aeaa5f67 /04_dynld_nostd/Makefile
parent1df4dfdcdbbaef7e5b32c5c0bfadec02b3ccd6f0 (diff)
downloaddynld-85230524414b6d27664bf77c8584bfeced6c71cb.tar.gz
dynld-85230524414b6d27664bf77c8584bfeced6c71cb.zip
add support to resolve all relocations in PLT & RELA tables; add global variable as example to libgreet.so
Diffstat (limited to '04_dynld_nostd/Makefile')
-rw-r--r--04_dynld_nostd/Makefile6
1 files changed, 0 insertions, 6 deletions
diff --git a/04_dynld_nostd/Makefile b/04_dynld_nostd/Makefile
index 8cd9d35..c1a472a 100644
--- a/04_dynld_nostd/Makefile
+++ b/04_dynld_nostd/Makefile
@@ -16,12 +16,6 @@ main: dynld.so main.c ../lib/libcommon.a
-Wl,--hash-style=sysv \
libgreet.c
- @if readelf -W -S libgreet.so | grep plt >& /dev/null; then \
- echo "ERROR: libgreet.so contains PLT while we don't support relocation calls in libgreet.so!"; \
- echo " All function calls in libgreet.so must be statically resolved!"; \
- exit 1; \
- fi
-
@# For now ew only add support for ELF hash tables (DT_HASH).
@# Therefore we specify the `hash-style` below.
gcc -o $@ \