Re: bfin, frv, m68k, vax: got creation in check_relocs

"Maciej W. Rozycki" <[email protected]>
Newsgroups gmane.comp.gnu.binutils
Message-ID <[email protected]>
On Thu, 6 Aug 2026, Alan Modra wrote:

> It isn't obvious that it is correct to call the various create got
> section functions inside a !dynobj test, ie. somebody reading the code
> is left wondering whether the got might not be be created.  I think it
> is always created but I'd rather not need to dig even a little.

 I think the original intent was to call `_bfd_elf_create_got_section' 
only once, at least from here.  However calls to this function are 
idempotent, so this change seems fine to me.

  Maciej
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.