aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/run-time-clock.cc
diff options
context:
space:
mode:
authorJens Remus <jremus@linux.ibm.com>2024-11-29 15:37:19 +0100
committerJens Remus <jremus@linux.ibm.com>2024-11-29 15:37:19 +0100
commit453f481aabf6b552dc83dc63c4f62ed2a6b41ded (patch)
tree628941e82694f48f883f286bf9db3fbfa8de2ca0 /gdbsupport/run-time-clock.cc
parent7507fe37980edcd85b5811c2ec2859bdaf93107e (diff)
downloadbinutils-453f481aabf6b552dc83dc63c4f62ed2a6b41ded.zip
binutils-453f481aabf6b552dc83dc63c4f62ed2a6b41ded.tar.gz
binutils-453f481aabf6b552dc83dc63c4f62ed2a6b41ded.tar.bz2
s390: Treat addressing operand sequence as one in assembler
The assembler erroneously treated any number of operands as optional, if the instruction was flagged to have one or two optional operands (i.e. optparm or optparm2). Only treat the exact specified number of operands as optional while treating addressing operand sequences D(X,B), D(B), and D(L,B) as one operand. gas/ * config/tc-s390.c (operand_count): New helper to count the remaining operands, treating D(X,B), D(B), and D(L,B) as one. (skip_optargs_p): Use new helper operand_count to treat D(X,B), D(B), and D(L,B) as one operand. (md_gather_operands): Use skip_optargs_p to skip only the optional last operands. Signed-off-by: Jens Remus <jremus@linux.ibm.com>
Diffstat (limited to 'gdbsupport/run-time-clock.cc')
0 files changed, 0 insertions, 0 deletions