Properly warn relocation in readonly section in a shared object.
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 1 Jun 2011 19:42:01 +0000 (19:42 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 1 Jun 2011 19:42:01 +0000 (19:42 +0000)
commit4b819e1f6e40e09d3d2b73b76afa007b842b3857
tree478f6fce4d680ae898375e50e463673cbd08fc59
parent248d2a8fdcb2f5b0eba8f189ed55bac41480ca21
Properly warn relocation in readonly section in a shared object.

2011-06-01  H.J. Lu  <hongjiu.lu@intel.com>

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