bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/14207] linker can produce a NULL GNU_RELRO segment


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/14207] linker can produce a NULL GNU_RELRO segment
Date: Tue, 03 Jul 2012 05:47:41 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=14207

--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> 2012-07-03 05:47:41 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    address@hidden    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

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]