[2/8] gas: distinguish local symbol flavors when printing symbols

Message ID 96b53b35-ba21-4549-8c9e-8001d6de5b2a@suse.com
State New
Headers
Series gas/x86: towards better Intel syntax expression evaluation |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 fail Patch failed to apply
linaro-tcwg-bot/tcwg_binutils_build--master-arm fail Patch failed to apply

Commit Message

Jan Beulich March 27, 2026, 2:10 p.m. UTC
  Ordinary symbols fulfilling S_IS_LOCAL() criteria aren't the same as local
symbols. Make sure one can tell them apart in print_symbol_value()'s (and
print_expr()'s) output.
  

Patch

--- a/gas/symbols.c
+++ b/gas/symbols.c
@@ -3189,7 +3189,7 @@  print_symbol_value_1 (FILE *file, symbol
 	fprintf (file, " frag %p", locsym->frag);
       if (locsym->flags.resolved)
 	fprintf (file, " resolved");
-      fprintf (file, " local");
+      fprintf (file, " locsym");
     }
   else
     {