diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-07-28 03:41:16 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-07-28 03:55:53 -0700 |
commit | 1a02d6b0ff80048df106cbb776a550278f8c9d9c (patch) | |
tree | 75a0bfd9d3535aa8d3f27240e3385348e4fe34c7 /config/pkg.m4 | |
parent | 43d5901dedc7d0eefd7b677f555a4cbf470ee455 (diff) | |
download | gdb-1a02d6b0ff80048df106cbb776a550278f8c9d9c.zip gdb-1a02d6b0ff80048df106cbb776a550278f8c9d9c.tar.gz gdb-1a02d6b0ff80048df106cbb776a550278f8c9d9c.tar.bz2 |
x86: Handle {disp32} for (%bp)/(%ebp)/(%rbp)
Since (%bp)/(%ebp)/(%rbp) are encoded as 0(%bp)/0(%ebp)/0(%rbp), use
disp32/disp16 on 0(%bp)/0(%ebp)/0(%rbp) for {disp32}.
Note: Since there is no disp32 on 0(%bp), use disp16 instead.
PR gas/26305
* config/tc-i386.c (build_modrm_byte): Use disp32/disp16 on
(%bp)/(%ebp)/(%rbp) for {disp32}.
* doc/c-i386.texi: Update {disp32} documentation.
* testsuite/gas/i386/pseudos.s: Add (%bp)/(%ebp) tests.
* testsuite/gas/i386/x86-64-pseudos.s: Add (%ebp)/(%rbp) tests.
* testsuite/gas/i386/pseudos.d: Updated.
* testsuite/gas/i386/x86-64-pseudos.d: Likewise.
Diffstat (limited to 'config/pkg.m4')
0 files changed, 0 insertions, 0 deletions