Change argument type passed to ifunc resolvers

* sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
	in resolver call.
This commit is contained in:
Steve Ellcey 2017-08-31 10:34:55 -07:00
parent 65284eb7a8
commit 9eee633b68
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-08-31 Steve Ellcey <sellcey@cavium.com>
* sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
in resolver call.
2017-08-31 Florian Weimer <fweimer@redhat.com>
* include/libc-symbols.h (internal_function): Remove.

View File

@ -31,7 +31,7 @@ static inline ElfW(Addr)
__attribute ((always_inline))
elf_ifunc_invoke (ElfW(Addr) addr)
{
return ((ElfW(Addr) (*) (unsigned long int)) (addr)) (GLRO(dl_hwcap));
return ((ElfW(Addr) (*) (uint64_t)) (addr)) (GLRO(dl_hwcap));
}
static inline void