aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-04-19 13:36:41 +0000
committerNick Clifton <nickc@redhat.com>2007-04-19 13:36:41 +0000
commit964597d07bbacb56b0c64406c47e775c6c8009ea (patch)
treeca61790d9a85c40ed140ed3a24ece32472fa68ef
parent7e71daaa7bd7fa5a4735cd1366c8b43bfedc0b0d (diff)
downloadgdb-964597d07bbacb56b0c64406c47e775c6c8009ea.zip
gdb-964597d07bbacb56b0c64406c47e775c6c8009ea.tar.gz
gdb-964597d07bbacb56b0c64406c47e775c6c8009ea.tar.bz2
* coffcode.h (coff_rtype_to_howto): Initialise genrel.howto.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/coffcode.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 29ce21b..8d8645e 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2007-04-19 Nick Clifton <nickc@redhat.com>
+
+ * coffcode.h (coff_rtype_to_howto): Initialise genrel.howto.
+
2007-04-19 Alan Modra <amodra@bigpond.net.au>
* bfd.c (bfd_demangle): New function.
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index d86247e..98d1c08 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -4950,6 +4950,7 @@ coff_rtype_to_howto (bfd *abfd ATTRIBUTE_UNUSED,
{
arelent genrel;
+ genrel.howto = NULL;
RTYPE2HOWTO (&genrel, rel);
return genrel.howto;
}