bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/12380] Assertion in linker script failed twice


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/12380] Assertion in linker script failed twice
Date: Wed, 12 Jan 2011 12:07:29 +0000

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

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> 2011-01-12 12:07:24 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    address@hidden    2011-01-12 12:07:20

Modified files:
    ld             : ChangeLog ldexp.c ldexp.h ldlang.c 

Log message:
    PR ld/12380
    * ldexp.h (enum phase_enum): Comment.  Add exp_dataseg_done.
    * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code.  Test
    for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
    to detect when we've finished sizing sections.
    (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
    (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise.  Also test
    that we are not inside an output section statement.
    * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
    not exp_dataseg_relro_adjust or exp_dataseg_adjust.  Don't set
    lang_final_phase_enum here.
    (lang_process): Set lang_final_phase_enum here.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.2267&r2=1.2268
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ldexp.c.diff?cvsroot=src&r1=1.89&r2=1.90
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ldexp.h.diff?cvsroot=src&r1=1.25&r2=1.26
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ldlang.c.diff?cvsroot=src&r1=1.356&r2=1.357

-- 
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]