Re: [PATCH v2] gas/ELF: Allow local symbol with non-protected visibility

"H.J. Lu" <[email protected]>
Newsgroups gmane.comp.gnu.binutils
Message-ID <CAMe9rOpKu4n9ZYdYOR=MuUhvW4SsckR7FXT5PWv0F3nJhwUjoQ@mail.gmail.com>
On Thu, Jun 25, 2026 at 9:30 AM Alan Modra <[email protected]> wrote:
>
> 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 <[email protected]>
> > 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

I also tested it with aarch64-linux-gnu and tic6x-elf.  No regressions.
I am checking it in.

-- 
H.J.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.