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

Indu Bhagat indu.bhagat@oracle.com
Wed Jun 4 23:25:51 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'.

---
[No change in V3]
---
 binutils/dwarf.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 5b3ece58c8b..6b4b7448f15 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -9185,6 +9185,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