diff options
author | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2017-05-29 12:33:15 +0200 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2017-05-30 10:19:59 +0200 |
commit | bfcfbe611b4d7e650236f8b8ba7d0706cfe6a0b7 (patch) | |
tree | 7e62f7b4de5b17078c42b9a96e150873c4426020 /gas | |
parent | 6813cafe52236a95289accb138032c1d6dd3272e (diff) | |
download | gdb-bfcfbe611b4d7e650236f8b8ba7d0706cfe6a0b7.zip gdb-bfcfbe611b4d7e650236f8b8ba7d0706cfe6a0b7.tar.gz gdb-bfcfbe611b4d7e650236f8b8ba7d0706cfe6a0b7.tar.bz2 |
S/390: Remove optional operand flag.
The per operand optional flag hasn't been used for quite some time.
Cleanup some remains.
include/ChangeLog:
2017-05-30 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* opcode/s390.h: Remove S390_OPERAND_OPTIONAL.
gas/ChangeLog:
2017-05-30 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* config/tc-s390.c (md_gather_operands): Remove code dealing with
S390_OPERAND_OPTIONAL.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/config/tc-s390.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/gas/config/tc-s390.c b/gas/config/tc-s390.c index 40c9f6f..a31cb3a 100644 --- a/gas/config/tc-s390.c +++ b/gas/config/tc-s390.c @@ -1304,19 +1304,6 @@ md_gather_operands (char *str, as_bad (_("illegal operand")); else if (ex.X_op == O_absent) { - /* No operands, check if all operands can be skipped. */ - while (*opindex_ptr != 0 && operand->flags & S390_OPERAND_OPTIONAL) - { - if (operand->flags & S390_OPERAND_DISP) - { - /* An optional displacement makes the whole D(X,B) - D(L,B) or D(B) block optional. */ - do { - operand = s390_operands + *(++opindex_ptr); - } while (!(operand->flags & S390_OPERAND_BASE)); - } - operand = s390_operands + *(++opindex_ptr); - } if (opindex_ptr[0] == '\0') break; as_bad (_("missing operand")); @@ -1486,8 +1473,6 @@ md_gather_operands (char *str, while (opindex_ptr[1] != '\0') { operand = s390_operands + *(++opindex_ptr); - if (operand->flags & S390_OPERAND_OPTIONAL) - continue; as_bad (_("syntax error; expected ','")); break; } @@ -1530,8 +1515,6 @@ md_gather_operands (char *str, while (opindex_ptr[1] != '\0') { operand = s390_operands + *(++opindex_ptr); - if (operand->flags & S390_OPERAND_OPTIONAL) - continue; as_bad (_("syntax error; expected ','")); break; } @@ -1564,8 +1547,6 @@ md_gather_operands (char *str, while (opindex_ptr[1] != '\0') { operand = s390_operands + *(++opindex_ptr); - if (operand->flags & S390_OPERAND_OPTIONAL) - continue; as_bad (_("syntax error; expected ','")); break; } |