[PATCH 0/2] Fix two issues in gcfg and scfi

Indu Bhagat indu.bhagat@oracle.com
Tue Apr 9 00:29:10 GMT 2024


Ping.

On 3/28/24 16:43, Indu Bhagat wrote:
> Hi,
> 
> While working on extending SCFI for aarch64, I ran into some bugs in the
> existing GCFG creation and SCFI state management code in GAS.  This
> patch series fixes those (two) issues.
> 
> The two patches are quite independent of each other.  They are being sent
> together only to hopefully save some testing and reviewing cycles.
> 
> Testing Notes:
>   - Regression tested native builds on x86_64 and aarch64.
> 
> Thanks,
> Indu Bhagat (2):
>    gas: gcfg: add_bb_at_ginsn must return root_bb
>    gas: scfi: bugfixes for SCFI state propagation
> 
>   gas/ginsn.c                                   | 95 ++++++++++++++-----
>   gas/scfi.c                                    | 20 ++--
>   gas/testsuite/gas/scfi/x86_64/scfi-cfg-4.d    | 43 +++++++++
>   gas/testsuite/gas/scfi/x86_64/scfi-cfg-4.l    |  2 +
>   gas/testsuite/gas/scfi/x86_64/scfi-cfg-4.s    | 42 ++++++++
>   gas/testsuite/gas/scfi/x86_64/scfi-cfg-5.d    | 39 ++++++++
>   gas/testsuite/gas/scfi/x86_64/scfi-cfg-5.l    |  2 +
>   gas/testsuite/gas/scfi/x86_64/scfi-cfg-5.s    | 32 +++++++
>   gas/testsuite/gas/scfi/x86_64/scfi-x86-64.exp |  4 +
>   9 files changed, 245 insertions(+), 34 deletions(-)
>   create mode 100644 gas/testsuite/gas/scfi/x86_64/scfi-cfg-4.d
>   create mode 100644 gas/testsuite/gas/scfi/x86_64/scfi-cfg-4.l
>   create mode 100644 gas/testsuite/gas/scfi/x86_64/scfi-cfg-4.s
>   create mode 100644 gas/testsuite/gas/scfi/x86_64/scfi-cfg-5.d
>   create mode 100644 gas/testsuite/gas/scfi/x86_64/scfi-cfg-5.l
>   create mode 100644 gas/testsuite/gas/scfi/x86_64/scfi-cfg-5.s
> 



More information about the Binutils mailing list