ld: Add simple DT_RELR tests
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 6 Jan 2022 00:01:08 +0000 (16:01 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 12 Jan 2022 14:04:52 +0000 (06:04 -0800)
commit4d9e2e53b9f93b0ae33ba948ae3d2825b3424441
treec54f87d1e130339406ccfa3036412b82c963e3d6
parent5af6f000d88622107e7382d337af2884fd211da2
ld: Add simple DT_RELR tests

* testsuite/ld-elf/dt-relr-1.s: New file.
* testsuite/ld-elf/dt-relr-1a.d: Likewise.
* testsuite/ld-elf/dt-relr-1b.d: Likewise.
* testsuite/ld-elf/dt-relr-1c.d: Likewise.
* testsuite/ld-elf/dt-relr-2.s: Likewise.
* testsuite/ld-elf/dt-relr-2a.d: Likewise.
* testsuite/ld-elf/dt-relr-2b.d: Likewise.
* testsuite/ld-elf/dt-relr-2c.d: Likewise.
* testsuite/ld-elf/dt-relr-2d.d: Likewise.
* testsuite/ld-elf/dt-relr-2e.d: Likewise.
* testsuite/ld-elf/dt-relr-2f.d: Likewise.
* testsuite/ld-elf/dt-relr-2g.d: Likewise.
* testsuite/ld-elf/dt-relr-2h.d: Likewise.
* testsuite/ld-elf/dt-relr-3.s: Likewise.
* testsuite/ld-elf/dt-relr-3a.d: Likewise.
* testsuite/ld-elf/dt-relr-3b.d: Likewise.
* testsuite/ld-i386/dt-relr-1.s: Likewise.
* testsuite/ld-i386/dt-relr-1a.d: Likewise.
* testsuite/ld-i386/dt-relr-1b.d: Likewise.
* testsuite/ld-x86-64/dt-relr-1a-x32.d: Likewise.
* testsuite/ld-x86-64/dt-relr-1a.d: Likewise.
* testsuite/ld-x86-64/dt-relr-1b-x32.d: Likewise.
* testsuite/ld-x86-64/dt-relr-1b.d: Likewise.
* testsuite/ld-x86-64/dt-relr-1.s: Likewise.
* testsuite/ld-i386/i386.exp: Run dt-relr-1a and dt-relr-1b.
* testsuite/ld-x86-64/x86-64.exp: Run dt-relr-1a, dt-relr-1a-x32
dt-relr-1b and dt-relr-1b-x32.
26 files changed:
ld/testsuite/ld-elf/dt-relr-1.s [new file with mode: 0644]
ld/testsuite/ld-elf/dt-relr-1a.d [new file with mode: 0644]
ld/testsuite/ld-elf/dt-relr-1b.d [new file with mode: 0644]
ld/testsuite/ld-elf/dt-relr-1c.d [new file with mode: 0644]
ld/testsuite/ld-elf/dt-relr-2.s [new file with mode: 0644]
ld/testsuite/ld-elf/dt-relr-2a.d [new file with mode: 0644]
ld/testsuite/ld-elf/dt-relr-2b.d [new file with mode: 0644]
ld/testsuite/ld-elf/dt-relr-2c.d [new file with mode: 0644]
ld/testsuite/ld-elf/dt-relr-2d.d [new file with mode: 0644]
ld/testsuite/ld-elf/dt-relr-2e.d [new file with mode: 0644]
ld/testsuite/ld-elf/dt-relr-2f.d [new file with mode: 0644]
ld/testsuite/ld-elf/dt-relr-2g.d [new file with mode: 0644]
ld/testsuite/ld-elf/dt-relr-2h.d [new file with mode: 0644]
ld/testsuite/ld-elf/dt-relr-3.s [new file with mode: 0644]
ld/testsuite/ld-elf/dt-relr-3a.d [new file with mode: 0644]
ld/testsuite/ld-elf/dt-relr-3b.d [new file with mode: 0644]
ld/testsuite/ld-i386/dt-relr-1.s [new file with mode: 0644]
ld/testsuite/ld-i386/dt-relr-1a.d [new file with mode: 0644]
ld/testsuite/ld-i386/dt-relr-1b.d [new file with mode: 0644]
ld/testsuite/ld-i386/i386.exp
ld/testsuite/ld-x86-64/dt-relr-1.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/dt-relr-1a-x32.d [new file with mode: 0644]
ld/testsuite/ld-x86-64/dt-relr-1a.d [new file with mode: 0644]
ld/testsuite/ld-x86-64/dt-relr-1b-x32.d [new file with mode: 0644]
ld/testsuite/ld-x86-64/dt-relr-1b.d [new file with mode: 0644]
ld/testsuite/ld-x86-64/x86-64.exp