A patch for visibility.

H . J . Lu hjl@valinux.com
Tue May 23 06:27:00 GMT 2000


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)


More information about the Binutils mailing list