about summary refs log tree commit diff
path: root/elf/tst-relr4.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2022-04-14 10:46:53 -0700
committerH.J. Lu <hjl.tools@gmail.com>2022-04-26 10:16:11 -0700
commit4ada564f35fd7b87cb12ff2afad76af93cefde50 (patch)
treeb9ddedb937c8b14eaaea396d5c78988f48fe29b4 /elf/tst-relr4.c
parent60196d2ef2850f222c7c93818ccb4d9cdbd77276 (diff)
downloadglibc-4ada564f35fd7b87cb12ff2afad76af93cefde50.tar.gz
glibc-4ada564f35fd7b87cb12ff2afad76af93cefde50.tar.xz
glibc-4ada564f35fd7b87cb12ff2afad76af93cefde50.zip
elf: Add more DT_RELR tests
Verify that:

1. A DT_RELR shared library without DT_NEEDED works.
2. A DT_RELR shared library without DT_VERNEED works.
3. A DT_RELR shared library without libc.so on DT_NEEDED works.
Diffstat (limited to 'elf/tst-relr4.c')
-rw-r--r--elf/tst-relr4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/tst-relr4.c b/elf/tst-relr4.c
new file mode 100644
index 0000000000..19a75013f8
--- /dev/null
+++ b/elf/tst-relr4.c
@@ -0,0 +1 @@
+#include "tst-relr3.c"