aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--elf/dl-object.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a471fd6f46..86a8b7af38 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
1999-01-19 Ulrich Drepper <drepper@cygnus.com>
+ * 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;