[PATCH v2] gas/ELF: Allow local symbol with non-protected visibility
Alan Modra
amodra@gmail.com
Thu Jun 25 01:30:02 GMT 2026
On Wed, Jun 24, 2026 at 06:37:57PM +0800, H.J. Lu wrote:
> Here is the v2 path to partially revert:
>
> commit c4150acbda1b3ce0602f79cbb7700b39e577be7e
> Author: Jan Beulich <jbeulich@suse.com>
> Date: Fri May 8 11:45:04 2026 +0200
>
> gas/ELF: warn upon non-default visibility of local symbols
>
> and update elf_adjust_symtab to only warn local symbol with protected
> visibility.
OK if this has been tested over a reasonable set of targets, ie. not
just x86.
--
Alan Modra
More information about the Binutils
mailing list