aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-01-30 16:02:32 +1030
committerAlan Modra <amodra@gmail.com>2018-01-30 18:58:51 +1030
commit76cb3a89a6615cf3418fa1efe8268bf6673a5c8a (patch)
tree2ba00e73904ed096f9c240e173bcfeda0f7970d0 /bfd/ChangeLog
parentfc413dc467e4c46013f6e5a60dc5db24d63f72ea (diff)
downloadgdb-76cb3a89a6615cf3418fa1efe8268bf6673a5c8a.zip
gdb-76cb3a89a6615cf3418fa1efe8268bf6673a5c8a.tar.gz
gdb-76cb3a89a6615cf3418fa1efe8268bf6673a5c8a.tar.bz2
PR22758, FAIL: Run pr22393-2
We can't map different disk pages into the same memory page; The last page mapped will simply overwrite any previous pages. The executable/non-executable new_segment test ignored this fact, leading to a ld.so segfault on hppa when .dynamic is overwritten with zeros. This patch moves existing tests for demand paging with lma on the same memory page, to a new test performed before any case where we want a new segment due to protection or loadable conflicts. PR 22758 * elf.c (_bfd_elf_map_sections_to_segments): Don't start a new segment when demand paged with lma on the same page. Test this before load/non-load, executable/non-executable, writable/non-writable tests and simplify. Delete bogus relro condition in writable/non-writable test. Delete outdated comment. Formatting.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 4a45b55..fb93985 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,15 @@
2018-01-30 Alan Modra <amodra@gmail.com>
+ PR 22758
+ * elf.c (_bfd_elf_map_sections_to_segments): Don't start a new
+ segment when demand paged with lma on the same page. Test this
+ before load/non-load, executable/non-executable,
+ writable/non-writable tests and simplify. Delete bogus relro
+ condition in writable/non-writable test. Delete outdated
+ comment. Formatting.
+
+2018-01-30 Alan Modra <amodra@gmail.com>
+
* elflink.c (bfd_elf_define_start_stop): Make __start and __stop
symbols dynamic.