]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
binutils: make read_cie aware of new augmentation char 'G'
authorIndu Bhagat <indu.bhagat@oracle.com>
Wed, 9 Jul 2025 21:09:15 +0000 (23:09 +0200)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Sat, 12 Jul 2025 09:33:25 +0000 (11:33 +0200)
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

index 8540b28aa903ec72777e961a68d267b1900035d1..f4bcb67776181fc1200eae1b3a7e43906eb74eb0 100644 (file)
@@ -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