From 81b035fe638d677f90200598294d15811dcccf68 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 22 Mar 2012 10:17:05 -0700 Subject: Replace Elf64_XXX with ElfW(XXX) in dl-irel.h --- include/link.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/link.h') 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 */ -- cgit v1.2.3