aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@caviumnetworks.com>2017-08-31 10:34:55 -0700
committerSteve Ellcey <sellcey@caviumnetworks.com>2017-08-31 10:34:55 -0700
commit9eee633b68649c94b2404f65d5c9a00c3ed1f068 (patch)
treee78834c04f78ae36172b79cf5c7e58cfb01ed6a4
parent65284eb7a80fad685e1fc1898fc212ec87ed03fd (diff)
downloadglibc-9eee633b68649c94b2404f65d5c9a00c3ed1f068.tar
glibc-9eee633b68649c94b2404f65d5c9a00c3ed1f068.tar.gz
glibc-9eee633b68649c94b2404f65d5c9a00c3ed1f068.tar.bz2
glibc-9eee633b68649c94b2404f65d5c9a00c3ed1f068.zip
Change argument type passed to ifunc resolvers
* sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type in resolver call.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/aarch64/dl-irel.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 98701d959b..e0473dc29e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
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