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

Indu Bhagat indu.bhagat@oracle.com
Fri Apr 11 04:16:29 GMT 2025


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(+)

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++;
-- 
2.43.0



More information about the Binutils mailing list