[PATCH 6/6] PowerPC64 ELFv2 PPC64_OPT_LOCALENTRY

Tulio Magno Quites Machado Filho tuliom@linux.vnet.ibm.com
Tue Jun 13 18:21:00 GMT 2017


Alan Modra <amodra@gmail.com> writes:

> On Thu, Jun 01, 2017 at 10:41:45PM +0930, Alan Modra wrote:
>> diff --git a/sysdeps/powerpc/powerpc64/dl-machine.h b/sysdeps/powerpc/powerpc64/dl-machine.h
> [snip]
>> +	  && (STO_PPC64_LOCAL_MASK & refsym->st_other) == 0
>> +	  && (STO_PPC64_LOCAL_MASK & sym->st_other) != 0)
>> +	_dl_error_localentry (map, refsym);
> [snip]
>> +extern void attribute_hidden _dl_error_localentry (struct link_map *map,
>> +						   const Elf64_Sym *refsym);
>
> The above of course is stupid and results in warnings "implicit
> declaration of function" and "conflicting types".  I was accidentally
> building with --disable-werror, a thing I don't normally do, so missed
> seeing the error.  The following revised patch fixes this and puts
> _dl_error_localentry definition inside #if _CALL_ELF == 2.

Looks good to me.

Do you plan to recover the commit message from the previous version of the
patch?

-- 
Tulio Magno



More information about the Libc-alpha mailing list