aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pr17935-1.d
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-12-02 14:48:50 +1030
committerAlan Modra <amodra@gmail.com>2017-12-04 23:05:01 +1030
commit826c3f1edc2f9da4594aed86b57a7b447a46016d (patch)
tree9d5ac346fab24f8cd38372bfe32cf00d1b6457e0 /ld/testsuite/ld-i386/pr17935-1.d
parente21126b7b381a9083e6670ca9adaad6060e376d1 (diff)
downloadgdb-826c3f1edc2f9da4594aed86b57a7b447a46016d.zip
gdb-826c3f1edc2f9da4594aed86b57a7b447a46016d.tar.gz
gdb-826c3f1edc2f9da4594aed86b57a7b447a46016d.tar.bz2
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 'ld/testsuite/ld-i386/pr17935-1.d')
-rw-r--r--ld/testsuite/ld-i386/pr17935-1.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-i386/pr17935-1.d b/ld/testsuite/ld-i386/pr17935-1.d
index 5303ea2..e73da59 100644
--- a/ld/testsuite/ld-i386/pr17935-1.d
+++ b/ld/testsuite/ld-i386/pr17935-1.d
@@ -1,3 +1,3 @@
# as: --32
# ld: -m elf_i386 -shared -z text
-# error: warning: relocation against `foo' in readonly section `.text'
+# error: warning: relocation against `foo' in read-only section `.text'