x86 map file textrel
authorAlan Modra <amodra@gmail.com>
Sat, 2 Dec 2017 04:18:50 +0000 (14:48 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 4 Dec 2017 12:35:01 +0000 (23:05 +1030)
commit826c3f1edc2f9da4594aed86b57a7b447a46016d
tree9d5ac346fab24f8cd38372bfe32cf00d1b6457e0
parente21126b7b381a9083e6670ca9adaad6060e376d1
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.
bfd/ChangeLog
bfd/elfxx-x86.c
bfd/linker.c
ld/ChangeLog
ld/testsuite/ld-i386/pr17935-1.d
ld/testsuite/ld-i386/pr17935-2.d
ld/testsuite/ld-x86-64/pr17935-1.d
ld/testsuite/ld-x86-64/pr17935-2.d