This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR22458, failure to choose a matching ELF target


On Wed, May 16, 2018 at 06:45:57AM -0700, H.J. Lu wrote:
> On Wed, May 16, 2018 at 5:15 AM, Alan Modra <amodra@gmail.com> wrote:
> > --- a/bfd/libbfd-in.h
> > +++ b/bfd/libbfd-in.h
> > @@ -53,6 +53,9 @@ struct section_hash_entry
> >    asection section;
> >  };
> >
> > +/* Unique section id.  */
> > +extern unsigned int _bfd_section_id;
> > +
> 
> Should it be marked as hidden?

True.  Every variable or function declaration in that file should be
hidden.  Looks like we could do with an ATTRIBUTE_HIDDEN macro.

Also, opcodes/nfp-dis.c should not be including libbfd.h.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]