[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/22758] FAIL: Run pr22393-2
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/22758] FAIL: Run pr22393-2 |
Date: |
Tue, 30 Jan 2018 08:30:33 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22758
--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=76cb3a89a6615cf3418fa1efe8268bf6673a5c8a
commit 76cb3a89a6615cf3418fa1efe8268bf6673a5c8a
Author: Alan Modra <address@hidden>
Date: Tue Jan 30 16:02:32 2018 +1030
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/22758] New: FAIL: Run pr22393-2, danglin at gcc dot gnu.org, 2018/01/28
- [Bug ld/22758] FAIL: Run pr22393-2, nickc at redhat dot com, 2018/01/29
- [Bug ld/22758] FAIL: Run pr22393-2, dave.anglin at bell dot net, 2018/01/29
- [Bug ld/22758] FAIL: Run pr22393-2, ebotcazou at gcc dot gnu.org, 2018/01/29
- [Bug ld/22758] FAIL: Run pr22393-2, amodra at gmail dot com, 2018/01/30
- [Bug ld/22758] FAIL: Run pr22393-2, amodra at gmail dot com, 2018/01/30
- [Bug ld/22758] FAIL: Run pr22393-2,
cvs-commit at gcc dot gnu.org <=
- [Bug ld/22758] FAIL: Run pr22393-2, amodra at gmail dot com, 2018/01/30