diff options
author | Sean Keys <skeys@ipdatasys.com> | 2012-05-15 18:34:23 +0000 |
---|---|---|
committer | Sean Keys <skeys@ipdatasys.com> | 2012-05-15 18:34:23 +0000 |
commit | 43a028780f9dfc8478a438df6485041462173740 (patch) | |
tree | 0ea156df3b390e0fcea50946d95b676a162a22ff /gas | |
parent | 588ae58cd240954b57008c7796540314d85ac580 (diff) | |
download | binutils-43a028780f9dfc8478a438df6485041462173740.zip binutils-43a028780f9dfc8478a438df6485041462173740.tar.gz binutils-43a028780f9dfc8478a438df6485041462173740.tar.bz2 |
Rewrote a loop that caused a seg fault on Windows systems.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/config/tc-xgate.c | 2 |
1 files changed, 1 insertions, 1 deletions
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++; |