[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/21874] New: x86: Multiple segment registers in the address are
From: |
ubizjak at gmail dot com |
Subject: |
[Bug gas/21874] New: x86: Multiple segment registers in the address are not detected with -masm=intel |
Date: |
Tue, 01 Aug 2017 03:08:56 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=21874
Bug ID: 21874
Summary: x86: Multiple segment registers in the address are not
detected with -masm=intel
Product: binutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: ubizjak at gmail dot com
Target Milestone: ---
Following assembly:
--cut here--
.intel_syntax noprefix
mov eax, DWORD PTR gs:ds:16
add eax, DWORD PTR fs:ds:16
ret
--cut here--
should fail to assemble due to multiple segment registers in the address.
Fortunately, gas DTRT with the above asm:
0000000000000000 <.text>:
0: 65 8b 04 25 10 00 00 mov %gs:0x10,%eax
7: 00
8: 64 03 04 25 10 00 00 add %fs:0x10,%eax
f: 00
10: c3 retq
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/21874] New: x86: Multiple segment registers in the address are not detected with -masm=intel,
ubizjak at gmail dot com <=
- [Bug gas/21874] x86: Multiple segment registers in the address are not detected with -masm=intel, ubizjak at gmail dot com, 2017/08/01
- [Bug gas/21874] x86: Multiple segment registers in the address are not detected with -masm=intel, hjl.tools at gmail dot com, 2017/08/01
- [Bug gas/21874] x86: Multiple segment registers in the address are not detected with -masm=intel, hjl.tools at gmail dot com, 2017/08/01
- [Bug gas/21874] x86: Multiple segment registers in the address are not detected with -masm=intel, cvs-commit at gcc dot gnu.org, 2017/08/01
- [Bug gas/21874] x86: Multiple segment registers in the address are not detected with -masm=intel, hjl.tools at gmail dot com, 2017/08/01