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

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Jan Beulich from comment #3)
> (In reply to H.J. Lu from comment #2)
> > This is done this way so that _dl_sysinfo_int80 can be accessed in foo as
> > a local/hidden symbol.
> 
> Well - they still need to decide: Do they want it local or hidden.

_dl_sysinfo_int80 is a local function, but it is defined in an asm statement.
Since it is referenced in C, it needs to be declared as hidden.

> > This new warning is annoying since the source is
> > very unlikely to be changed because this warning.
> 
> It may be annoying in some cases, but it may point at an actual issue
> elsewhere. Even here I'm not sure I'd call this "annoying" - there is an
> issue with the code, even if overall it may be benign here.

This is no issue in the source.  ELF spec doesn't forbid the hidden visibility
on a local symbol.  It is just a no-op.

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

Reply via email to