elf: Add more DT_RELR tests
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 14 Apr 2022 17:46:53 +0000 (10:46 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 26 Apr 2022 17:16:11 +0000 (10:16 -0700)
commit4ada564f35fd7b87cb12ff2afad76af93cefde50
treeb9ddedb937c8b14eaaea396d5c78988f48fe29b4
parent60196d2ef2850f222c7c93818ccb4d9cdbd77276
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.
elf/Makefile
elf/tst-relr-mod2.c [new file with mode: 0644]
elf/tst-relr-mod3a.c [new file with mode: 0644]
elf/tst-relr-mod3b.c [new file with mode: 0644]
elf/tst-relr-mod4a.c [new file with mode: 0644]
elf/tst-relr-mod4b.c [new file with mode: 0644]
elf/tst-relr-mod4b.map [new file with mode: 0644]
elf/tst-relr2.c [new file with mode: 0644]
elf/tst-relr3.c [new file with mode: 0644]
elf/tst-relr4.c [new file with mode: 0644]