diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-09-30 16:33:35 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-09-30 16:33:52 -0700 |
commit | 27f134698ac529f3050f5ddbd31a0ab0bbe5be99 (patch) | |
tree | 4d78aee19d40896740744c7d668272fd0b186e66 /bfd/cpu-arm.h | |
parent | 95eb9e54a51fdb819c8525a0a33138d861f31bc8 (diff) | |
download | gdb-27f134698ac529f3050f5ddbd31a0ab0bbe5be99.zip gdb-27f134698ac529f3050f5ddbd31a0ab0bbe5be99.tar.gz gdb-27f134698ac529f3050f5ddbd31a0ab0bbe5be99.tar.bz2 |
x86: Check register operand for AddrPrefixOpReg
If the address prefix changes the register operand, we need to check the
register operand when the memory operand is RIP-relative.
PR gas/26685
* config/tc-i386.c (process_suffix): Check the register operand
for the address size prefix if the memory operand is symbol(%rip).
* testsuite/gas/i386/x86-64-enqcmd.s: Add tests with RIP-relative
addressing.
* testsuite/gas/i386/x86-64-movdir.s: Likewise.
* testsuite/gas/i386/x86-64-enqcmd-intel.d: Updated.
* testsuite/gas/i386/x86-64-enqcmd.d: Likewise.
* testsuite/gas/i386/x86-64-movdir-intel.d: Likewise.
* testsuite/gas/i386/x86-64-movdir.d: Likewise.
Diffstat (limited to 'bfd/cpu-arm.h')
0 files changed, 0 insertions, 0 deletions