From 43a028780f9dfc8478a438df6485041462173740 Mon Sep 17 00:00:00 2001 From: Sean Keys Date: Tue, 15 May 2012 18:34:23 +0000 Subject: Rewrote a loop that caused a seg fault on Windows systems. --- gas/config/tc-xgate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gas/config') diff --git a/gas/config/tc-xgate.c b/gas/config/tc-xgate.c index 954acdc..cca049c 100644 --- a/gas/config/tc-xgate.c +++ b/gas/config/tc-xgate.c @@ -341,7 +341,7 @@ md_begin (void) prev_op_name = op_handles[j].name; } - while (op_handles->name) + for (i = 1; i < (int)number_of_handle_rows; i++) { hash_insert (xgate_hash, op_handles->name, (char *) op_handles); op_handles++; -- cgit v1.1