binutils-gdb/ld/testsuite/ld-aarch64/pr20402.d
Roland McGrath d029b54d9c ld: Fix testsuite failures under --enable-textrel-check=error
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 11:09:17 -08:00

9 lines
384 B
Makefile

#target: [check_shared_lib_support]
#ld: -pie -defsym foo=0x1 -defsym bar=0x2 -z notext
#readelf: -r
Relocation section '\.rela\.dyn' at offset .* contains 2 entries:
Offset Info Type Sym\. Value Sym\. Name \+ Addend
000000000000 000000000000 R_AARCH64_NONE 0
000000000000 000000000000 R_AARCH64_NONE 0