aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/msp430
diff options
context:
space:
mode:
authorJozef Lawrynowicz <jozef.l@mittosystems.com>2018-05-30 23:33:49 +0000
committerJeff Law <law@gcc.gnu.org>2018-05-30 17:33:49 -0600
commit786b5b872201f3588d4b36e5b8afc4b8b0cd42b5 (patch)
tree1b6039501580d9e98720087d45265aa456baa4af /gcc/config/msp430
parent98c112851b10eb607c63d846b5beb786ccbc1ed6 (diff)
downloadgcc-786b5b872201f3588d4b36e5b8afc4b8b0cd42b5.zip
gcc-786b5b872201f3588d4b36e5b8afc4b8b0cd42b5.tar.gz
gcc-786b5b872201f3588d4b36e5b8afc4b8b0cd42b5.tar.bz2
msp430.c (msp430_output_labelref): Prepend user_label_prefix to name.
* config/msp430/msp430.c (msp430_output_labelref): Prepend user_label_prefix to name. From-SVN: r260983
Diffstat (limited to 'gcc/config/msp430')
-rw-r--r--gcc/config/msp430/msp430.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/msp430/msp430.c b/gcc/config/msp430/msp430.c
index adde597..8c8e676 100644
--- a/gcc/config/msp430/msp430.c
+++ b/gcc/config/msp430/msp430.c
@@ -3416,6 +3416,9 @@ msp430_output_labelref (FILE *file, const char *name)
}
}
+ if (user_label_prefix[0] != 0)
+ fputs (user_label_prefix, file);
+
fputs (name, file);
}