The PT_DYNAMIC segment was being hard coded to have read, write, and
authorJack Carter <jcarter@mips.com>
Wed, 19 Feb 2014 00:23:48 +0000 (16:23 -0800)
committerJack Carter <jcarter@mips.com>
Wed, 19 Feb 2014 00:23:48 +0000 (16:23 -0800)
commit5db3e65d39c4018e88c3e7bba089fa9df11e7617
tree4f0097b5d75c4772fc949b8a32322e423d90317d
parentc17ef0d5d26a5374b70f33689042ec2f6a77e4fa
The PT_DYNAMIC segment was being hard coded to have read, write, and
execute permission regardless of the underlying PT_LOAD segment permissions.
Deleting this code allows the default linker behavior which is to set the
dynamic segment to the same permissions as the sections that make it up.

This change alters one existing test case to check the segment flags for
PT_DYNAMIC.

bfd/ChangeLog
        * elfxx-mips.c(_bfd_mips_elf_modify_segment_map): Deleted hard coding of
        PT_DYNAMIC segment flags.

ld/testsuite/ChangeLog
* ld-mips-elf/pic-and-nonpic-3a.sd: Check DYNAMIC segment flags.
bfd/ChangeLog
bfd/elfxx-mips.c
ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/pic-and-nonpic-3a.sd
This page took 0.025954 seconds and 4 git commands to generate.