diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-08-18 01:19:20 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-08-18 01:19:20 +0000 |
commit | fc2d3a34a54e16e9fc9563fcb97b69d1c3dd226f (patch) | |
tree | 1889e522b49366b522fa22496501c36af211b1d8 /ldso | |
parent | 253acb104ddd31b969cafa9d481bb0374796e634 (diff) | |
download | uClibc-alpine-fc2d3a34a54e16e9fc9563fcb97b69d1c3dd226f.tar.bz2 uClibc-alpine-fc2d3a34a54e16e9fc9563fcb97b69d1c3dd226f.tar.xz |
use generic ELF wrappers
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/x86_64/dl-startup.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ldso/ldso/x86_64/dl-startup.h b/ldso/ldso/x86_64/dl-startup.h index eb2e0b7f4..94d7fd41e 100644 --- a/ldso/ldso/x86_64/dl-startup.h +++ b/ldso/ldso/x86_64/dl-startup.h @@ -42,10 +42,10 @@ asm( /* Handle relocation of the symbols in the dynamic loader. */ static __always_inline -void PERFORM_BOOTSTRAP_RELOC(ELF_RELOC *rpnt, unsigned long *reloc_addr, - unsigned long symbol_addr, unsigned long load_addr, Elf64_Sym *sym) +void PERFORM_BOOTSTRAP_RELOC(ELF_RELOC *rpnt, ElfW(Addr) *reloc_addr, + ElfW(Addr) symbol_addr, ElfW(Addr) load_addr, ElfW(Sym) *sym) { - switch (ELF64_R_TYPE(rpnt->r_info)) { + switch (ELF_R_TYPE(rpnt->r_info)) { case R_X86_64_GLOB_DAT: case R_X86_64_JUMP_SLOT: *reloc_addr = symbol_addr + rpnt->r_addend; |