diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-03-22 10:17:05 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-03-22 10:17:05 -0700 |
commit | 81b035fe638d677f90200598294d15811dcccf68 (patch) | |
tree | 651404fe8af2239f0a2de8c3553f351245ec220e /include | |
parent | 1da7940c77153881471f01d0510abb392aa164c5 (diff) | |
download | glibc-81b035fe638d677f90200598294d15811dcccf68.tar.gz |
Replace Elf64_XXX with ElfW(XXX) in dl-irel.h
Diffstat (limited to 'include')
-rw-r--r-- | include/link.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/link.h b/include/link.h index c5265ee16f..2eb3179475 100644 --- a/include/link.h +++ b/include/link.h @@ -330,4 +330,9 @@ extern int __dl_iterate_phdr (int (*callback) (struct dl_phdr_info *info, size_t size, void *data), void *data); +/* We use this macro to refer to ELF macros independent of the native + wordsize. `ELFW(R_TYPE)' is used in place of `ELF32_R_TYPE' or + `ELF64_R_TYPE'. */ +#define ELFW(type) _ElfW (ELF, __ELF_NATIVE_CLASS, type) + #endif /* include/link.h */ |