[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/24485] IRET with .code16gcc
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug gas/24485] IRET with .code16gcc |
Date: |
Fri, 26 Apr 2019 17:22:56 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24485
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by H.J. Lu <address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7cb22ff84745da0856bf74578b9bd7dff4379ed5
commit 7cb22ff84745da0856bf74578b9bd7dff4379ed5
Author: H.J. Lu <address@hidden>
Date: Fri Apr 26 10:19:53 2019 -0700
i386: Don't add 0x66 prefix to IRET for .code16gcc
The .code16gcc directive supports 16bit mode with 32-bit address. Since
IRET (opcode 0xcf) in 16bit mode returns from an interrupt in 16bit mode,
we shouldn't add 0x66 prefix for IRET.
PR gas/24485
* config/tc-i386.c (process_suffix): Don't add DATA_PREFIX_OPCODE
to IRET for .code16gcc.
* testsuite/gas/i386/jump16.s: Add IRET tests.
* testsuite/gas/i386/jump16.d: Updated.
--
You are receiving this mail because:
You are on the CC list for the bug.