summaryrefslogtreecommitdiff
path: root/ldso/ldso/sh64/dl-startup.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-11-27 01:58:40 -0500
committerMike Frysinger <vapier@gentoo.org>2012-03-25 01:55:43 -0400
commitc3393906d84d0d9cb7d688e0f2bbf8cde92190a2 (patch)
tree9ea8993348b94ba8d527eb7d49e6988055739708 /ldso/ldso/sh64/dl-startup.h
parent867bac0c750401d2f429ad6bb066498c3b8b35c1 (diff)
ldso: use ELF_xxx()/ElfW() helpers
They expand into the same code, but using the ELF_xxx()/ElfW() macros makes it much easier to spot similarities between code bases. Acked-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Acked-by: Carmelo Amoroso <carmelo.amoroso@st.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'ldso/ldso/sh64/dl-startup.h')
-rw-r--r--ldso/ldso/sh64/dl-startup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/sh64/dl-startup.h b/ldso/ldso/sh64/dl-startup.h
index 753134114..89bfe1f20 100644
--- a/ldso/ldso/sh64/dl-startup.h
+++ b/ldso/ldso/sh64/dl-startup.h
@@ -48,7 +48,7 @@ __asm__("" \
#include <elf.h>
#define PERFORM_BOOTSTRAP_RELOC(RELP,REL,SYMBOL,LOAD,SYMTAB) \
- const unsigned int r_type = ELF32_R_TYPE((RELP)->r_info); \
+ const unsigned int r_type = ELF_R_TYPE((RELP)->r_info); \
int lsb = !!((SYMTAB)->st_other & STO_SH5_ISA32); \
\
switch (r_type) { \