bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/12066] cannot move location counter backwards (from 000000000000


From: marcin dot juszkiewicz at linaro dot org
Subject: [Bug ld/12066] cannot move location counter backwards (from 00000000000067e0 to 0000000000000000)
Date: 29 Sep 2010 10:17:11 -0000

------- Additional Comments From marcin dot juszkiewicz at linaro dot org  
2010-09-29 10:17 -------
Bisected binutils git tree (git://repo.or.cz/binutils.git) and this commit 
broke 
it:

commit 557189b0dd1f3dec6b00b91b9b0c5459ece72a52
Author: Alan Modra <address@hidden>
Date:   Thu Aug 19 05:51:47 2010 +0000

    binutils/
        * NEWS: Mention change in linker script expression evaluation.
    ld/
        * ld.texinfo (Expression Section): Detail expression evaluation.
        (Builtin Functions <ADDR>): Correct.
        (Builtin Functions <LOADADDR>): Don't mention LOADADDR normally
        the same as ADDR.
        (Builtin Functions <SEGMENT_START>): Typo fix.
        * ldexp.c (new_number): New function.
        (make_abs, exp_get_abs_int): Cope with NULL expld.result.section.
        (fold_unary <'~', '!', '-'>): Don't make_abs.
        (fold_binary): Simplify result section logic.  Return NULL section
        for logical ops.
        (fold_binary <SEGMENT_START>): Use new_rel_from_abs to set value to
        a consistent result.
        (fold_name <SIZEOF_HEADERS>): Return new_number, not new_abs.
        (fold_name <DEFINED, SIZEOF, ALIGNOF, LENGTH, CONSTANT>): Likewise.
        (fold_name <NAME>): No need to handle absolute symbols differently
        from relative ones.
        (fold_name <ORIGIN>): Don't return valid result when
        lang_first_phase_enum.  Return new_rel_from_abs, not new_abs.
        (exp_fold_tree_1 <etree_value>): Return new_number, not new_rel.
        (exp_fold_tree_1): Ajust for NULL expld.result.section.  When assigning
        a plain number to dot, assume the value is relative to expld.section.
        Make terms not in an output section, absolute.
        * ldlang.c (print_assignment): Fix style nit.
        (lang_size_sections_1): Cope with NULL expld.result.section.
        (lang_do_assignments_1): Likewise.
    ld/testsuite/
        * ld-scripts/memory.t: Remove ORIGIN fudge.


-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



reply via email to

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