From 786b5b872201f3588d4b36e5b8afc4b8b0cd42b5 Mon Sep 17 00:00:00 2001 From: Jozef Lawrynowicz Date: Wed, 30 May 2018 23:33:49 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 3 +++ gcc/config/msp430/msp430.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index da3064ecf15..33c6090efc3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2018-05-30 Jozef Lawrynowicz + * config/msp430/msp430.c (msp430_output_labelref): Prepend + user_label_prefix to name. + * tree-core.h: Update comment about the format of NAME string passed to handler in attribute_spec. diff --git a/gcc/config/msp430/msp430.c b/gcc/config/msp430/msp430.c index adde5979c77..8c8e676b73e 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); }