bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/17590] Order of multiple defsym commands irrelevant


From: amodra at gmail dot com
Subject: [Bug ld/17590] Order of multiple defsym commands irrelevant
Date: Tue, 18 Nov 2014 02:57:23 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=17590

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |amodra at gmail dot com
         Resolution|---                         |WONTFIX

--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
What you're missing is that the linking process makes multiple passes over the
linker script, and --defsym is effectively a tiny addition to the linker
script.

On the first pass you will get _three = _one and _one = _two.  The next pass
sets _threee to the new value of _one, ie _two.

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