diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2019-05-02 10:46:55 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2019-05-02 10:47:04 -0700 |
commit | 06f74c5cb868cfd37af3e680d29784c217700bdf (patch) | |
tree | cb19afcc9839414386df4b0e684604ea6d2a17ae /gdb/rust-lang.c | |
parent | b8c05e85ef4ce9610a3a43198180cf24aea327cb (diff) | |
download | binutils-06f74c5cb868cfd37af3e680d29784c217700bdf.zip binutils-06f74c5cb868cfd37af3e680d29784c217700bdf.tar.gz binutils-06f74c5cb868cfd37af3e680d29784c217700bdf.tar.bz2 |
i386: Issue a warning to IRET without suffix for .code16gcc
The .code16gcc directive to support 16-bit mode with 32-bit address.
For IRET without a suffix, generate 16-bit IRET with a warning to
return from an interrupt handler in 16-bit mode.
PR gas/24485
* config/tc-i386.c (process_suffix): Issue a warning to IRET
without a suffix for .code16gcc.
* testsuite/gas/i386/jump16.s: Add tests for iretX.
* testsuite/gas/i386/jump16.d: Updated.
* testsuite/gas/i386/jump16.e: New file.
Diffstat (limited to 'gdb/rust-lang.c')
0 files changed, 0 insertions, 0 deletions