mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +08:00
4fb55bf6a9
Follow-up to commit90b7a5df15
("aarch64: Disallow copy relocations on protected data"). Commit32f573bcb3
changed ld to produce R_AARCH64_GLOB_DAT but that defeated the purpose of protected visibility as an optimization. Restore the previous behavior (which matches ld.lld) by defining elf_backend_extern_protected_data to 0.
6 lines
95 B
Makefile
6 lines
95 B
Makefile
#target: [check_shared_lib_support]
|
|
#ld: -shared
|
|
#readelf: -r -W
|
|
#...
|
|
.* R_AARCH64_RELATIVE .*
|