From b25d4ff04dff85bd1d32741cc0a320ee38cfdf51 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 20 Jan 1999 00:00:16 +0000 Subject: [PATCH] Update. * elf/dl-object.c (_dl_new_object): Micro-optimization. --- ChangeLog | 2 ++ elf/dl-object.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a471fd6f46..86a8b7af38 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 1999-01-19 Ulrich Drepper + * elf/dl-object.c (_dl_new_object): Micro-optimization. + * elf/restest1.c: New file. Symbol resolution test. * elf/testobj1_1.c: New file. Module used in this test. * elf/Makefile: Add rules for restest1 generation and execution. diff --git a/elf/dl-object.c b/elf/dl-object.c index 1c940c607a..fd2cdaec83 100644 --- a/elf/dl-object.c +++ b/elf/dl-object.c @@ -48,7 +48,7 @@ _dl_new_object (char *realname, const char *libname, int type, new->l_libname = newname; new->l_type = type; new->l_loader = loader; - new->l_global = 0; + /* new->l_global = 0; We use calloc therefore not necessary. */ /* Counter for the scopes we have to handle. */ idx = 0;