[PATCH v2] sparc: define _GLOBAL_OFFSET_TABLE_ when referenced

Alan Modra amodra@gmail.com
Fri Feb 7 23:10:55 GMT 2025


On Fri, Feb 07, 2025 at 05:51:35AM -0300, Alexandre Oliva wrote:
> On Feb  6, 2025, Alan Modra <amodra@gmail.com> wrote:
> 
> > Looks good, except for
> 
> >> +	  if (h != NULL && htab->elf.hgot)
> 
> > 	  if (h != NULL && h == htab->elf.hgot)
> 
> Ugh.  Sorry, yeah, that didn't look good at all indeed ;-)  :-(
> 
> 
> Here's a squashed version of both patches, fixing the error above as
> well.  Again, tested with target leon3-elf on x86_64-linux-gnu.  Ok to
> install?

OK.

-- 
Alan Modra


More information about the Binutils mailing list