diff options
author | Jan Beulich <jbeulich@suse.com> | 2019-12-04 10:40:40 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2019-12-04 10:40:40 +0100 |
commit | 13e600d0f5601e354f1f3ed896db35845a682fee (patch) | |
tree | 0a66e700226c227eecf509ca406a3586b02a9e35 /gas/ChangeLog | |
parent | 3036c8991964674ca2407c543645d841ad431267 (diff) | |
download | fsf-binutils-gdb-13e600d0f5601e354f1f3ed896db35845a682fee.zip fsf-binutils-gdb-13e600d0f5601e354f1f3ed896db35845a682fee.tar.gz fsf-binutils-gdb-13e600d0f5601e354f1f3ed896db35845a682fee.tar.bz2 |
x86: make sure all PUSH/POP honor DefaultSize
While segment registers are registers, their use doesn't allow sizing
of insns without suffix / explicit operand size specifier. Prevent
PUSH and POP of segment registers from entering that path, instead
allowing them to observe the stackop_size setting just like other
PUSH/POP and alike do.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 7307dc8..411d66f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,15 @@ 2019-12-04 Jan Beulich <jbeulich@suse.com> + * config/tc-i386.c (process_suffix): Arrange for insns with a + single non-GPR register operand to not have its suffix guessed + from GPR operands. Extend DefaultSize handling to cover PUSH/POP + of segment registers. + * testsuite/gas/i386/general.s: Add PUSH/POP sreg to .code16gcc + set of insns. + * testsuite/gas/i386/general.l: Adjust expectations. + +2019-12-04 Jan Beulich <jbeulich@suse.com> + * config/tc-i386.c (process_suffix): Exclude SYSRET alongside FLDENV et al. * testsuite/gas/i386/general.s: Expand .code16gcc set of insns. |