ld/
* testsuite/ld-aarch64/dt_textrel.d: Pass explicit -z notext in
case ld was configured with --enable-textrel-check=error.
* testsuite/ld-aarch64/pr22764.d: Likewise.
* testsuite/ld-aarch64/pr20402.d: Likewise.
+2021-11-15 Roland McGrath <mcgrathr@google.com>
+
+ * testsuite/ld-aarch64/dt_textrel.d: Pass explicit -z notext in
+ case ld was configured with --enable-textrel-check=error.
+ * testsuite/ld-aarch64/pr22764.d: Likewise.
+ * testsuite/ld-aarch64/pr20402.d: Likewise.
+
2021-10-25 Nick Alcock <nick.alcock@oracle.com>
* testsuite/ld-ctf/nonrepresentable-member.*: New test.
#source: dt_textrel.s
#target: [check_shared_lib_support]
-#ld: -shared
+#ld: -shared -z notext
#readelf: -d
#...
.*TEXTREL.*
#target: [check_shared_lib_support]
-#ld: -pie -defsym foo=0x1 -defsym bar=0x2
+#ld: -pie -defsym foo=0x1 -defsym bar=0x2 -z notext
#readelf: -r
Relocation section '\.rela\.dyn' at offset .* contains 2 entries:
#source: pr22764.s
#target: [check_shared_lib_support]
-#ld: -shared -T relocs.ld -defsym sym_abs1=0x1 -defsym sym_abs2=0x2 -defsym sym_abs3=0x3 -e0 --emit-relocs
+#ld: -shared -T relocs.ld -defsym sym_abs1=0x1 -defsym sym_abs2=0x2 -defsym sym_abs3=0x3 -e0 --emit-relocs -z notext
#notarget: aarch64_be-*-*
#objdump: -dr
#...