ld: Disable DT_RELR in some -z relro tests
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 13 Jan 2022 14:11:23 +0000 (06:11 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 13 Jan 2022 14:11:23 +0000 (06:11 -0800)
commit34630bd307d358b35078c0696a204edb25d938b3
tree906452c4687b271d6c893f6f743caaead78d747f
parent268533381f80d18698fea9b15f942427f1d34cba
ld: Disable DT_RELR in some -z relro tests

Disable DT_RELR in the following -z relro tests which don't expect
DT_RELR in linker outputs.

* testsuite/ld-i386/pr20830.d: Pass $NO_DT_RELR_LDFLAGS to ld.
* testsuite/ld-x86-64/pr20830a-now.d: Likewise.
* testsuite/ld-x86-64/pr20830a.d: Likewise.
* testsuite/ld-x86-64/pr20830b-now.d: Likewise.
* testsuite/ld-x86-64/pr20830b.d: Likewise.
* testsuite/ld-x86-64/pr21038a-now.d: Likewise.
* testsuite/ld-x86-64/pr21038a.d: Likewise.
* testsuite/ld-x86-64/pr21038b-now.d: Likewise.
* testsuite/ld-x86-64/pr21038c-now.d: Likewise.
* testsuite/ld-x86-64/pr21038c.d: Likewise.
ld/testsuite/ld-i386/pr20830.d
ld/testsuite/ld-x86-64/pr20830a-now.d
ld/testsuite/ld-x86-64/pr20830a.d
ld/testsuite/ld-x86-64/pr20830b-now.d
ld/testsuite/ld-x86-64/pr20830b.d
ld/testsuite/ld-x86-64/pr21038a-now.d
ld/testsuite/ld-x86-64/pr21038a.d
ld/testsuite/ld-x86-64/pr21038b-now.d
ld/testsuite/ld-x86-64/pr21038c-now.d
ld/testsuite/ld-x86-64/pr21038c.d