diff options
author | Alan Modra <amodra@gmail.com> | 2017-12-02 14:48:50 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-12-04 23:05:01 +1030 |
commit | 826c3f1edc2f9da4594aed86b57a7b447a46016d (patch) | |
tree | 9d5ac346fab24f8cd38372bfe32cf00d1b6457e0 /bfd/linker.c | |
parent | e21126b7b381a9083e6670ca9adaad6060e376d1 (diff) | |
download | binutils-gdb-826c3f1edc2f9da4594aed86b57a7b447a46016d.tar.gz |
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.
Diffstat (limited to 'bfd/linker.c')
-rw-r--r-- | bfd/linker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/linker.c b/bfd/linker.c index 9c19df4e570..77e20327f64 100644 --- a/bfd/linker.c +++ b/bfd/linker.c @@ -632,7 +632,7 @@ unwrap_hash_lookup (struct bfd_link_info *info, /* Traverse a generic link hash table. Differs from bfd_hash_traverse in the treatment of warning symbols. When warning symbols are created they replace the real symbol, so you don't get to see the - real symbol in a bfd_hash_travere. This traversal calls func with + real symbol in a bfd_hash_traverse. This traversal calls func with the real symbol. */ void |