diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-11-27 01:58:40 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-03-25 01:55:43 -0400 |
commit | c3393906d84d0d9cb7d688e0f2bbf8cde92190a2 (patch) | |
tree | 9ea8993348b94ba8d527eb7d49e6988055739708 /ldso/ldso/c6x/dl-startup.h | |
parent | 867bac0c750401d2f429ad6bb066498c3b8b35c1 (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/c6x/dl-startup.h')
-rw-r--r-- | ldso/ldso/c6x/dl-startup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/c6x/dl-startup.h b/ldso/ldso/c6x/dl-startup.h index b9ea30409..6ad801f1b 100644 --- a/ldso/ldso/c6x/dl-startup.h +++ b/ldso/ldso/c6x/dl-startup.h @@ -92,7 +92,7 @@ struct elf32_dsbt_loadmap; * load address. */ #define PERFORM_BOOTSTRAP_RELOC(RELP,REL,SYMBOL,LOAD,SYMTAB) \ - switch(ELF32_R_TYPE((RELP)->r_info)){ \ + switch(ELF_R_TYPE((RELP)->r_info)){ \ case R_C6000_ABS_L16: \ { \ unsigned int opcode = *(REL); \ |