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

Maciej W. Rozycki macro@orcam.me.uk
Tue Aug 11 20:39:10 GMT 2026


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


More information about the Binutils mailing list