From 826c3f1edc2f9da4594aed86b57a7b447a46016d Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 2 Dec 2017 14:48:50 +1030 Subject: x86 map file textrel bfd/ * elfxx-x86.c (readonly_dynrelocs): New function. (maybe_set_textrel): New function. Always prints via minfo and correct "readonly" to "read-only" in warning message., replacing.. (_bfd_x86_elf_readonly_dynrelocs): ..this. (_bfd_x86_elf_size_dynamic_sections): Correct "readonly" to "read-only" in warning message. Formatting. (_bfd_x86_elf_adjust_dynamic_symbol): Use readonly_dynrelocs. * linker.c (bfd_link_hash_traverse): Comment typo fix. ld/ * testsuite/ld-i386/pr17935-1.d: Adjust expected error. * testsuite/ld-i386/pr17935-2.d: Likewise. * testsuite/ld-x86-64/pr17935-1.d: Likewise. * testsuite/ld-x86-64/pr17935-2.d: Likewise. --- ld/testsuite/ld-x86-64/pr17935-2.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ld/testsuite/ld-x86-64/pr17935-2.d') diff --git a/ld/testsuite/ld-x86-64/pr17935-2.d b/ld/testsuite/ld-x86-64/pr17935-2.d index 81df652..c15a79b 100644 --- a/ld/testsuite/ld-x86-64/pr17935-2.d +++ b/ld/testsuite/ld-x86-64/pr17935-2.d @@ -1,3 +1,3 @@ # as: --64 # ld: -m elf_x86_64 -shared -z text -# error: warning: relocation in readonly section `.text' +# error: warning: relocation in read-only section `.text' -- cgit v1.1