* ld warning fix
@ 2005-02-17 18:36 Alan Modra
0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2005-02-17 18:36 UTC (permalink / raw)
To: binutils
gcc-4.0 is rather neat in that it can analyse whether aggregates are
all initialized or not.
* ldexp.c (new_abs): Init new.str.
Index: ld/ldexp.c
===================================================================
RCS file: /cvs/src/src/ld/ldexp.c,v
retrieving revision 1.42
diff -u -p -r1.42 ldexp.c
--- ld/ldexp.c 21 Jan 2005 04:15:58 -0000 1.42
+++ ld/ldexp.c 17 Feb 2005 11:15:32 -0000
@@ -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;
}
--
Alan Modra
IBM OzLabs - Linux Technology Centre
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-02-17 13:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-17 18:36 ld warning fix Alan Modra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).