public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Indu Bhagat <indu.bhagat@oracle.com>
To: binutils@sourceware.org
Cc: Indu Bhagat <indu.bhagat@oracle.com>
Subject: [PATCH 0/2] Fix two issues in gcfg and scfi
Date: Thu, 28 Mar 2024 16:43:41 -0700	[thread overview]
Message-ID: <20240328234343.3397845-1-indu.bhagat@oracle.com> (raw)

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

-- 
2.43.0


             reply	other threads:[~2024-03-28 23:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-28 23:43 Indu Bhagat [this message]
2024-03-28 23:43 ` [PATCH 1/2] gas: gcfg: add_bb_at_ginsn must return root_bb Indu Bhagat
2024-03-28 23:43 ` [PATCH 2/2] gas: scfi: bugfixes for SCFI state propagation Indu Bhagat
2024-04-09  0:29 ` [PATCH 0/2] Fix two issues in gcfg and scfi Indu Bhagat
2024-04-10 10:13   ` Nick Clifton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240328234343.3397845-1-indu.bhagat@oracle.com \
    --to=indu.bhagat@oracle.com \
    --cc=binutils@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).