aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-02-17 13:06:14 +0000
committerAlan Modra <amodra@gmail.com>2005-02-17 13:06:14 +0000
commit20c2cbe38dd5b06ed38d9df2d112591a35657af3 (patch)
tree572714afb23f86828a884fa775e7cef3b0a3d204 /ld
parent0af6db78f3e1c1d36a2160cbfc35ccb16cb4ce00 (diff)
downloadgdb-20c2cbe38dd5b06ed38d9df2d112591a35657af3.zip
gdb-20c2cbe38dd5b06ed38d9df2d112591a35657af3.tar.gz
gdb-20c2cbe38dd5b06ed38d9df2d112591a35657af3.tar.bz2
* ldexp.c (new_abs): Init new.str.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/ldexp.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 3b2159b..468c711 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2005-02-17 Alan Modra <amodra@bigpond.net.au>
+
+ * ldexp.c (new_abs): Init new.str.
+
2005-02-15 Mark Mitchell <mark@codesourcery.com>
* configure.in (AC_CHECK_FUNCS): Add glob.
diff --git a/ld/ldexp.c b/ld/ldexp.c
index 8336f52..3335e37 100644
--- a/ld/ldexp.c
+++ b/ld/ldexp.c
@@ -1,6 +1,6 @@
/* This module handles expression trees.
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
- 2001, 2002, 2003, 2004
+ 2001, 2002, 2003, 2004, 2005
Free Software Foundation, Inc.
Written by Steve Chamberlain of Cygnus Support <sac@cygnus.com>.
@@ -144,6 +144,7 @@ new_abs (bfd_vma value)
new.valid_p = TRUE;
new.section = abs_output_section;
new.value = value;
+ new.str = NULL;
return new;
}