[binutils-gdb] binutils: make read_cie aware of new augmentation char 'G'

Jose E. Marchesi jemarch@sourceware.org
Sat Jul 12 09:37:44 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=83318af49390d6d5f4f5af186befec13420ecab2

commit 83318af49390d6d5f4f5af186befec13420ecab2
Author: Indu Bhagat <indu.bhagat@oracle.com>
Date:   Wed Jul 9 23:09:15 2025 +0200

    binutils: make read_cie aware of new augmentation char 'G'
    
    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]

Diff:
---
 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


More information about the Binutils-cvs mailing list