From 0b291e93bc26836686d8a8a2033cdd59e2fc55f2 Mon Sep 17 00:00:00 2001 From: Filippo Arcidiacono Date: Mon, 26 Jul 2010 15:45:47 +0200 Subject: ldso: Fix DL_BOOT_COMPUTE_DYN macro Signed-off-by: Filippo Arcidiacono Signed-off-by: Carmelo Amoroso --- ldso/include/dl-defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldso') 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 -- cgit v1.2.3