aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-01-20 00:00:16 +0000
committerUlrich Drepper <drepper@redhat.com>1999-01-20 00:00:16 +0000
commitb25d4ff04dff85bd1d32741cc0a320ee38cfdf51 (patch)
tree5c3b9edb908deee081e9492a307e1a64652911a3
parent6bd0638460756557bab2c3c176fd31f5e0ba6e1b (diff)
downloadglibc-b25d4ff04dff85bd1d32741cc0a320ee38cfdf51.zip
glibc-b25d4ff04dff85bd1d32741cc0a320ee38cfdf51.tar.gz
glibc-b25d4ff04dff85bd1d32741cc0a320ee38cfdf51.tar.bz2
Update.
* elf/dl-object.c (_dl_new_object): Micro-optimization.
-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 a471fd6..86a8b7a 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 1c940c6..fd2cdae 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;