diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2011-04-11 18:45:12 +0000 |
---|---|---|
committer | Kai Tietz <kai.tietz@onevision.com> | 2011-04-11 18:45:12 +0000 |
commit | 4a57f2cf9c4dea05d5b0dfe1799f47b0f8fed96f (patch) | |
tree | ad19e436402feacbf313e28e27a899074aebae56 | |
parent | 2a750708dccb3e29e7e4c346debd89194f3e4748 (diff) | |
download | gdb-4a57f2cf9c4dea05d5b0dfe1799f47b0f8fed96f.zip gdb-4a57f2cf9c4dea05d5b0dfe1799f47b0f8fed96f.tar.gz gdb-4a57f2cf9c4dea05d5b0dfe1799f47b0f8fed96f.tar.bz2 |
2011-04-11 Kai Tietz <ktietz@redhat.com>
* config/tc-i386.c (x86_cons): Initialize adjust with zero.
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-i386.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index e13c24d..44f3f9a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2011-04-11 Kai Tietz <ktietz@redhat.com> + + * config/tc-i386.c (x86_cons): Initialize adjust with zero. + 2011-04-11 Nick Clifton <nickc@redhat.com> * config/tc-i386.c (x86_cons): Define even for non-ELF targets. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 111974e..e85efe6 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -6572,7 +6572,7 @@ x86_cons (expressionS *exp, int size) /* Handle @GOTOFF and the like in an expression. */ char *save; char *gotfree_input_line; - int adjust; + int adjust = 0; save = input_line_pointer; gotfree_input_line = lex_got (&got_reloc, &adjust, NULL); |