aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/symbols.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/symbols.c b/gas/symbols.c
index 49cf3d9..07b80ea 100644
--- a/gas/symbols.c
+++ b/gas/symbols.c
@@ -1332,6 +1332,9 @@ dollar_label_name (n, augend)
know (n >= 0);
know (augend == 0 || augend == 1);
p = symbol_name_build;
+#ifdef LOCAL_LABEL_PREFIX
+ *p++ = LOCAL_LABEL_PREFIX;
+#endif
*p++ = 'L';
/* Next code just does sprintf( {}, "%d", n); */