[COMMITTED V5 4/8] binutils: make read_cie aware of new augmentation char 'G'

Jose E. Marchesi jose.marchesi@oracle.com
Sat Jul 12 09:39:30 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 (is_aarch64_augmentation): Add handling for augmentation
	char 'G'.

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

diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 8540b28aa90..f4bcb677761 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -8905,7 +8905,7 @@ is_nomach_augmentation (char c ATTRIBUTE_UNUSED)
 static bool
 is_aarch64_augmentation (char c)
 {
-  return (c == 'B');
+  return (c == 'B' || c == 'G');
 }
 
 void
-- 
2.30.2



More information about the Binutils mailing list