This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question about archive search behavior vs. --defsym


On 9/9/2010 9:37 AM, H.J. Lu wrote:

>>> OK.  Is this a structurally hard thing to fix?  Or just something that
>>> would take some effort?  And, does GOLD handle this correctly?

> 1. The symbol value may not be known at the time.

Yes, but this is just an implementation issue; you have to do a fixup
later in the link process.

> 2. It should override symbol defined in an object file.

Of course.

What point are you making?  Are you arguing that the current behavior is
desirable, or just that fixing it is not entirely trivial?

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]