ref: 5bbaaae3a28915960257ddf5da06b928df377be1
parent: 21246a29a61afa8882a4a7f43d84fb4cce9f5a03
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Tue May 31 04:38:23 EDT 2016
[cc2-qbe] Add all the symbol storage classes in addr2txt() The symbol storage classes for statit symbols were missing from addr2txt(), making impossible to use any static variable.
--- a/cc2/arch/qbe/code.c
+++ b/cc2/arch/qbe/code.c
@@ -351,6 +351,10 @@
case SAUTO:
case SLABEL:
case STMP:
+ case SGLOB:
+ case SEXTRN:
+ case SPRIV:
+ case SLOCAL:
return symname(a->u.sym);
default:
abort();