From 479aa8ecb2e64cb2bd70be3c258d42541d916291 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 20 May 2003 22:36:38 +0000 Subject: Update.Update. 2003-05-20 Jakub Jelinek * elf/dynamic-link.h (elf_get_dynamic_info): Add temp argument. If temp != NULL, copy dynamic entries which need relocation to temp array before relocating. (DL_RO_DYN_TEMP_CNT): Define. * elf/dl-load.c (_dl_map_object_from_fd): Adjust caller. * elf/rtld.c (_dl_start): Likewise. (dl_main): Likewise. Add dyn_temp static variable. --- elf/dl-load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elf/dl-load.c') diff --git a/elf/dl-load.c b/elf/dl-load.c index 290236b5e1..8b0c82bb52 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -1268,7 +1268,7 @@ cannot allocate TLS data structures for initial thread"); (unsigned long int) l->l_phdr, (int) sizeof (void *) * 2, l->l_phnum); - elf_get_dynamic_info (l); + elf_get_dynamic_info (l, NULL); /* Make sure we are not dlopen'ing an object that has the DF_1_NOOPEN flag set. */ -- cgit v1.2.3