diff options
author | Will Newton <will.newton@linaro.org> | 2014-11-18 16:03:51 +0000 |
---|---|---|
committer | Will Newton <will.newton@linaro.org> | 2014-11-21 14:44:23 +0000 |
commit | 01194ba18d594e79e687be570d85ec3b09a5fcb2 (patch) | |
tree | 43639eb27fd8293eef8599118a0274e16fa19bd7 /sysdeps/aarch64/dl-machine.h | |
parent | 8c230039a09523b08a7ede65768678e363206c02 (diff) | |
download | glibc-01194ba18d594e79e687be570d85ec3b09a5fcb2.tar.gz glibc-01194ba18d594e79e687be570d85ec3b09a5fcb2.tar.xz glibc-01194ba18d594e79e687be570d85ec3b09a5fcb2.zip |
AArch64: Use ELF macros rather than Elf64 throughout
Using the macros for ELF types is required for adding ILP32 support. In the standard AArch64 configuration this makes no difference to the types used. ChangeLog: 2014-11-21 Will Newton <will.newton@linaro.org> Andrew Pinski <andrew.pinski@caviumnetworks.com> * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use ElfW macro instead of hardcoded Elf64 types. (la_aarch64_gnu_pltenter): Likewise. * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Use ElfW(Addr).
Diffstat (limited to 'sysdeps/aarch64/dl-machine.h')
-rw-r--r-- | sysdeps/aarch64/dl-machine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/aarch64/dl-machine.h b/sysdeps/aarch64/dl-machine.h index acb090d817..7f5ce2b671 100644 --- a/sysdeps/aarch64/dl-machine.h +++ b/sysdeps/aarch64/dl-machine.h @@ -113,8 +113,8 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile) } if (l->l_info[ADDRIDX (DT_TLSDESC_GOT)] && lazy) - *(Elf64_Addr*)(D_PTR (l, l_info[ADDRIDX (DT_TLSDESC_GOT)]) + l->l_addr) - = (Elf64_Addr) &_dl_tlsdesc_resolve_rela; + *(ElfW(Addr)*)(D_PTR (l, l_info[ADDRIDX (DT_TLSDESC_GOT)]) + l->l_addr) + = (ElfW(Addr)) &_dl_tlsdesc_resolve_rela; return lazy; } |