diff options
author | Indu Bhagat <indu.bhagat@oracle.com> | 2024-01-11 14:22:34 -0800 |
---|---|---|
committer | Indu Bhagat <indu.bhagat@oracle.com> | 2024-03-28 16:55:50 -0700 |
commit | 6ea6536f01f1f69bc61eb776c3ea6fe1c1b4397f (patch) | |
tree | 070bf445b62eea52921158815b9c7bf205dd2b2c /elfcpp/ChangeLog-2018 | |
parent | 977da52111a5179d238d0aa2c06083c6a8d839e2 (diff) | |
download | fsf-binutils-gdb-6ea6536f01f1f69bc61eb776c3ea6fe1c1b4397f.zip fsf-binutils-gdb-6ea6536f01f1f69bc61eb776c3ea6fe1c1b4397f.tar.gz fsf-binutils-gdb-6ea6536f01f1f69bc61eb776c3ea6fe1c1b4397f.tar.bz2 |
gas: x86: ginsn: adapt the APX insn handling
A review comment on the SCFI V4 series was to bail out on APX
instructions differently:
Currently, GAS bails out at the mere sight of an APX instruction when
--scfi=experimental is in effect; this is implemented in form of an
early exit from x86_ginsn_new (). It is preferable to not have to
handle APX instructions explicitly like that with an early exit,
but rather to use the existing infrastructure in the x86_ginsn_new ()
function to bail out only if the APX insn affects SCFI correctness.
FIXME -
1. There remains an outstanding issue with adcx etc ops
2. Add tests once above is fixed
gas/
* config/tc-i386.c (ginsn_opsize_prefix_p): Rename and adjust to
be ginsn_implicitstackop_opsize16_p instead.
(x86_ginsn_enter): Use the new function.
(x86_ginsn_leave): Likewise.
(x86_ginsn_new): Likewise. Also remove the stub for early exit
for APX instructions.
gas/testsuite/
* gas/scfi/x86_64/scfi-unsupported-insn-1.l:
Diffstat (limited to 'elfcpp/ChangeLog-2018')
0 files changed, 0 insertions, 0 deletions