[RFC,V2,1/5] binutils: make read_cie aware of new augmentation char 'G'

Message ID 20250411041635.1984719-2-indu.bhagat@oracle.com
State New
Headers
Series Add support for MTE stack tagging |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_binutils_build--master-arm warning Skipped upon request

Commit Message

Indu Bhagat April 11, 2025, 4:16 a.m. UTC
  This allows objdump/readelf to dump DWARF/EH Frame info when the stack
frame makes use of MTE tagging.

ChangeLog:

        * binutils/dwarf.c (read_cie): Add handling for augmentation
	char 'G'.
---
 binutils/dwarf.c | 2 ++
 1 file changed, 2 insertions(+)
  

Patch

diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 08bb623e405..f90eb3bf6df 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -9162,6 +9162,8 @@  read_cie (unsigned char *start, unsigned char *end,
 	    ;
 	  else if (*p == 'B')
 	    ;
+	  else if (*p == 'G')
+	    ;
 	  else
 	    break;
 	  p++;