summaryrefslogtreecommitdiff
path: root/ldso/include/dl-defs.h
diff options
context:
space:
mode:
authorFilippo Arcidiacono <filippo.arcidiacono@st.com>2010-07-26 15:45:47 +0200
committerCarmelo Amoroso <carmelo.amoroso@st.com>2010-07-26 15:45:47 +0200
commit0b291e93bc26836686d8a8a2033cdd59e2fc55f2 (patch)
tree80c306e08a66732adf7529a354104567c0d676c3 /ldso/include/dl-defs.h
parent37aec506502e14dcddd6ca190929bbc8d33d8e07 (diff)
ldso: Fix DL_BOOT_COMPUTE_DYN macro
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'ldso/include/dl-defs.h')
-rw-r--r--ldso/include/dl-defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/include/dl-defs.h b/ldso/include/dl-defs.h
index 791d068bb..2d6303cfe 100644
--- a/ldso/include/dl-defs.h
+++ b/ldso/include/dl-defs.h
@@ -99,7 +99,7 @@ typedef struct {
* from DL_START, so additional arguments passed to it may be referenced. */
#ifndef DL_BOOT_COMPUTE_DYN
#define DL_BOOT_COMPUTE_DYN(DPNT, GOT, LOAD_ADDR) \
- ((DPNT) = ((ElfW(Dyn) *) DL_RELOC_ADDR(load_addr, got)))
+ ((DPNT) = ((ElfW(Dyn) *) DL_RELOC_ADDR(LOAD_ADDR, GOT)))
#endif
/* Initialize the location of the global offset table. This is only called