This is the mail archive of the binutils@sourceware.cygnus.com 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]

Re: A patch for visibility.


On Tue, May 23, 2000 at 09:52:26AM +0200, Martin von Loewis wrote:
> > Martin, you can stop arguing.  Visibility on undefined references make
> > no sense.  Both HJ and I were there when this extension was designed
> > and decided.  And just to be sure we asked today for clarification.
> > Any future comment is just noise.  The patch seems to do the right
> > thing and the intent is to not have any of the bits set for undefined
> > references.
> 
> My point is: If there are undefined symbols with visibility, it is an
> error. That error must be detected by the linker. The patch should be

It is an error if the linker lets it pass through. But my patch clears
it.

> dead code; if it isn't, there is an error elsewhere.
> 

My latest patch does detect the error among other things.


-- 
H.J. Lu (hjl@gnu.org)

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