This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src/bfd ChangeLog elf.c
- From: amodra at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 3 Jul 2012 05:47:36 -0000
- Subject: src/bfd ChangeLog elf.c
CVSROOT: /cvs/src
Module name: src
Changes by: amodra@sourceware.org 2012-07-03 05:47:36
Modified files:
bfd : ChangeLog elf.c
Log message:
PR ld/14207
* elf.c (assign_file_positions_for_load_sections): Remove assertions
that only PT_LOAD headers include file header and section headers.
(assign_file_positions_for_non_load_sections): Similarly don't
assert PT_GNU_RELRO header does not include file and section headers.
Compare first section vma rather than PT_LOAD p_vaddr against
relro_start when looking for PT_LOAD covering PT_GNU_RELRO. Replace
abort with assertion.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5742&r2=1.5743
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf.c.diff?cvsroot=src&r1=1.564&r2=1.565