From 28d9ca8eae01a44e7f8c398f44f2f0a577c3d336 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Sun, 2 Apr 2023 15:20:16 +0200 Subject: print prefix for thread-local symbols --- parse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parse.c b/parse.c index 649451f..c54448f 100644 --- a/parse.c +++ b/parse.c @@ -1203,6 +1203,8 @@ printcon(Con *c, FILE *f) case CUndef: break; case CAddr: + if (c->sym.type == SThr) + fprintf(f, "thread "); fprintf(f, "$%s", str(c->sym.id)); if (c->bits.i) fprintf(f, "%+"PRIi64, c->bits.i); -- cgit 1.4.1