about summary refs log tree commit diff
path: root/elf/dl-fini.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-fini.c')
-rw-r--r--elf/dl-fini.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-fini.c b/elf/dl-fini.c
index c7d4ebc86a..4ed3975bda 100644
--- a/elf/dl-fini.c
+++ b/elf/dl-fini.c
@@ -167,7 +167,7 @@ _dl_fini (void)
 
 	  /* Next try the old-style destructor.  */
 	  if (l->l_info[DT_FINI] != NULL)
-	    ((fini_t) (l->l_addr + l->l_info[DT_FINI]->d_un.d_ptr)) ();
+	    ((fini_t) DL_DT_FINI_ADDRESS (l, l->l_addr + l->l_info[DT_FINI]->d_un.d_ptr)) ();
 	}
     }
 }