bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/13720] Ld 2.22 computes wrong symbol values


From: amodra at gmail dot com
Subject: [Bug ld/13720] Ld 2.22 computes wrong symbol values
Date: Tue, 21 Feb 2012 22:33:38 +0000

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |amodra at gmail dot com

--- Comment #1 from Alan Modra <amodra at gmail dot com> 2012-02-21 22:33:38 
UTC ---
> iSegCode0 = (ABSOLUTE (.) - ABSOLUTE (tabGDT))
> offset_master_PIC = ((ABSOLUTE (.) - ABSOLUTE (tabIDT)) >> 0x3)

Did the above expressions occur inside output section statements in your linker
script?  If so, your symbols iSegCode0 and offset_master_PIC will be section
relative since the right hand side of these expressions evaluate to a number. 
(See ld.info node "Expression Section".)  When you use these symbols in
relocations, they will have the output section address added to their (offset)
value.

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