[git commit master 1/1] ldso: Fix DL_BOOT_COMPUTE_DYN macro

Carmelo Amoroso carmelo.amoroso at st.com
Mon Jul 26 13:45:47 UTC 2010


commit: http://git.uclibc.org/uClibc/commit/?id=0b291e93bc26836686d8a8a2033cdd59e2fc55f2
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono at st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso at st.com>
---
 ldso/include/dl-defs.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ldso/include/dl-defs.h b/ldso/include/dl-defs.h
index 791d068..2d6303c 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
-- 
1.7.1



More information about the uClibc-cvs mailing list