2007-10-10 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 11 Oct 2007 05:03:07 +0000 (05:03 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 11 Oct 2007 05:03:07 +0000 (05:03 +0000)
commitf210dcff90d54b8ae46967a3a4b07757cacd959f
tree5b13f3c4584eeca53cf09f5ec885177ccdcb2d5f
parent21dec5f51af65996b82580eebd9a8914286347a1
2007-10-10  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (get_program_header_size): Always add a PT_GNU_RELRO
segment for -z relro.
(_bfd_elf_map_sections_to_segments): Make a PT_GNU_RELRO
segment only when needed.
bfd/ChangeLog
bfd/elf.c