aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2013-02-15 14:25:34 +0000
committerKai Tietz <kai.tietz@onevision.com>2013-02-15 14:25:34 +0000
commit76d8cf45bb12ae6d8fc41d92579a2e166efb5b2f (patch)
treee84f9255a8863930df6d17d169585ba768d6bfc4 /binutils
parent91c2b899a6beeb0de3009b0bc3ca1a0d973575dc (diff)
downloadgdb-76d8cf45bb12ae6d8fc41d92579a2e166efb5b2f.zip
gdb-76d8cf45bb12ae6d8fc41d92579a2e166efb5b2f.tar.gz
gdb-76d8cf45bb12ae6d8fc41d92579a2e166efb5b2f.tar.bz2
* objcopy.c (copy_main): Initialize context variable.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/objcopy.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 54d4dab..d2e6dd0 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2013-02-15 Kai Tietz <ktietz@redhat.com>
+
+ * objcopy.c (copy_main): Initialize context variable.
+
2013-02-15 Nick Clifton <nickc@redhat.com>
PR binutils/15033
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index 288aa52..14f6b96 100644
--- a/binutils/objcopy.c
+++ b/binutils/objcopy.c
@@ -3662,7 +3662,7 @@ copy_main (int argc, char *argv[])
case OPTION_CHANGE_SECTION_VMA:
{
struct section_list * p;
- unsigned int context;
+ unsigned int context = 0;
const char *s;
int len;
char *name;