Warn relocation in readonly section in a shared object.
commitf3119ecdf6fe0200b75472f70d179badcace10bb
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 23 Apr 2011 01:16:30 +0000 (23 01:16 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 23 Apr 2011 01:16:30 +0000 (23 01:16 +0000)
treebf91802e7e67468cd3a8de66c9692e3f8df1f9f4
parent1d8f98d1b279332fdcd88b2c3a5147dbecf57ae2
Warn relocation in readonly section in a shared object.

2011-04-22  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_readonly_dynrelocs): Warn relocation
in readonly section in a shared object.
(elf_i386_size_dynamic_sections): Likewise.
* elf64-x86-64.c (elf_x86_64_readonly_dynrelocs): Likewise.
(elf_x86_64_size_dynamic_sections): Likewise.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c