bfd/
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 17 Aug 2006 02:04:53 +0000 (02:04 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 17 Aug 2006 02:04:53 +0000 (02:04 +0000)
commitc9df6640d5082e4605fb1205bd2b40653a642d8b
treec2f92e1daeadb8528296e9fc081fa5720a2e5e88
parent16df07d7279fcbc188681d50a979790b6a3f49c1
bfd/

2006-08-16  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3015
* elf.c (get_program_header_size): Add a PT_GNU_RELRO segment
only if there is a PT_DYNAMIC segment.
(_bfd_elf_map_sections_to_segments): Likewise.
(assign_file_positions_for_load_sections): Set PT_GNU_RELRO
segment alignment to 1.

ld/testsuite/

2006-08-16  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3015
* ld-elf/binutils.exp: Add tests for "-z relro".
bfd/ChangeLog
bfd/elf.c
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/binutils.exp