mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
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.
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2014-02-18 Jack Carter <jack.carter@imgtec.com>
|
||||
|
||||
* ld-mips-elf/pic-and-nonpic-3a.sd: Check DYNAMIC segment flags.
|
||||
|
||||
2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
|
||||
|
||||
* ld-elfweak/elfweak.exp (setup_xfail_gnu_hurd): Remove function
|
||||
|
@ -8,7 +8,7 @@ Program Headers:
|
||||
* REGINFO * [^ ]+ * 0x0+00000 * 0x0+00000 [^ ]+ * [^ ]+ * R * 0x.*
|
||||
* LOAD * [^ ]+ * 0x0+00000 * 0x0+00000 [^ ]+ * [^ ]+ * R E * 0x.*
|
||||
* LOAD * [^ ]+ * 0x0+10000 * 0x0+10000 [^ ]+ * [^ ]+ * RW * 0x.*
|
||||
* DYNAMIC * [^ ]+ * 0x0+00400 * 0x0+00400 .*
|
||||
* DYNAMIC * [^ ]+ * 0x0+00400 * 0x0+00400 [^ ]+ * [^ ]+ * R * 0x.*
|
||||
* NULL * .*
|
||||
|
||||
*Section to Segment mapping:
|
||||
|
Reference in New Issue
Block a user