[COMMITTED,V2,0/6] SFrame: support for .cfi_negate_ra_state in aarch64

Message ID 20221217064128.11326-1-indu.bhagat@oracle.com
Headers
Series SFrame: support for .cfi_negate_ra_state in aarch64 |

Message

Indu Bhagat Dec. 17, 2022, 6:41 a.m. UTC
  Committed this version with some adjustments as compared to V1.  Both the
changes summarised below are minor in nature.

[Summary of changes in V2]
  - Move the removal of common-empty-4.s test earlier to the patch "gas:
  sframe: add support for .cfi_negate_ra_state" instead of "gas: sframe:
  testsuite: add testcase for .cfi_negate_ra_state".
  - [readelf/objdump] Use marker "[s]" to also designate when return address in
  register is mangled. In V1, we were doing so only for the case when return
  address is saved on stack.
[End of changes in V2]

Thanks,
Indu Bhagat (6):
  sframe.h: add support for .cfi_negate_ra_state
  gas: sframe: add support for .cfi_negate_ra_state
  libsframe: provide new access API for mangled RA bit
  objdump/readelf: sframe: emit marker for FREs with mangled RA
  gas: sframe: testsuite: add testcase for .cfi_negate_ra_state
  sframe: doc: update spec for the mangled-RA bit in FRE

 gas/gen-sframe.c                              | 42 +++++++++++++++----
 gas/gen-sframe.h                              |  6 ++-
 .../gas/cfi-sframe/cfi-sframe-aarch64-2.d     | 20 +++++++++
 ...ommon-empty-4.s => cfi-sframe-aarch64-2.s} |  3 +-
 gas/testsuite/gas/cfi-sframe/cfi-sframe.exp   |  2 +-
 gas/testsuite/gas/cfi-sframe/common-empty-4.d | 14 -------
 include/sframe-api.h                          |  7 ++++
 include/sframe.h                              | 23 ++++++----
 libsframe/doc/sframe-spec.texi                |  4 +-
 libsframe/sframe-dump.c                       | 11 ++++-
 libsframe/sframe.c                            | 18 ++++++++
 11 files changed, 113 insertions(+), 37 deletions(-)
 create mode 100644 gas/testsuite/gas/cfi-sframe/cfi-sframe-aarch64-2.d
 rename gas/testsuite/gas/cfi-sframe/{common-empty-4.s => cfi-sframe-aarch64-2.s} (85%)
 delete mode 100644 gas/testsuite/gas/cfi-sframe/common-empty-4.d