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

--- Comment #5 from Stephen Kell <srk31 at srcf dot ucam.org> ---
> When compiler sees a hidden undefined symbol, it assumes that
> it is defined somewhere else and it isn't an ABS symbol.  As
> the result, you won't get 0x2a.

I see. In what way does the "not an ABS symbol" assumption affect the compiler
output?

> > Caveat: currently struggling to find the relevant ELF spec for the meaning
> > of an UND symbol of hidden visibility. If it's analogous to protected, I
> 
> Linker disallows undefined hidden symbol during the final link.

Sorry, I did not make myself clear. I did not mean "undefined in the link". I
meant "UND in the .o file". That is the effect of the change you asked me
about, as I understand it: to give the UND symbol hidden visibility.

I am struggling to understand the line of argument here. Are you saying you
don't think this is a bug?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to