Tidy code setting PT_GNU_RELRO p_flags
authorAlan Modra <amodra@gmail.com>
Tue, 13 Oct 2015 05:48:56 +0000 (16:18 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 13 Oct 2015 05:53:13 +0000 (16:23 +1030)
commit341b8ee719163f7ae8528f2a7832381887fbf8d8
tree94d65561cb1a93b9cbb7a2cc5df0d9436efe1f5e
parent8173c2a3c46efd8b12983b6095ff7bed4cda1c90
Tidy code setting PT_GNU_RELRO p_flags

No functional changes here.

* elf.c (_bfd_elf_map_sections_to_segments): Don't set
PT_GNU_RELRO p_flags.
(assign_file_positions_for_non_load_sections): Set PT_GNU_RELRO
flags to PF_R here.
bfd/ChangeLog
bfd/elf.c