From 4a57f2cf9c4dea05d5b0dfe1799f47b0f8fed96f Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Mon, 11 Apr 2011 18:45:12 +0000 Subject: [PATCH] 2011-04-11 Kai Tietz * config/tc-i386.c (x86_cons): Initialize adjust with zero. --- gas/ChangeLog | 4 ++++ gas/config/tc-i386.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index e13c24d9fc8..44f3f9a091d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2011-04-11 Kai Tietz + + * config/tc-i386.c (x86_cons): Initialize adjust with zero. + 2011-04-11 Nick Clifton * 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 111974e2356..e85efe65992 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); -- 2.30.2