From 9eee633b68649c94b2404f65d5c9a00c3ed1f068 Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Thu, 31 Aug 2017 10:34:55 -0700 Subject: [PATCH] Change argument type passed to ifunc resolvers * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type in resolver call. --- ChangeLog | 5 +++++ sysdeps/aarch64/dl-irel.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 98701d959b..e0473dc29e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-08-31 Steve Ellcey + + * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type + in resolver call. + 2017-08-31 Florian Weimer * include/libc-symbols.h (internal_function): Remove. diff --git a/sysdeps/aarch64/dl-irel.h b/sysdeps/aarch64/dl-irel.h index 4a8027510b..a794c826aa 100644 --- a/sysdeps/aarch64/dl-irel.h +++ b/sysdeps/aarch64/dl-irel.h @@ -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 -- 2.11.4.GIT