diff options
author | Jozef Lawrynowicz <jozef.l@mittosystems.com> | 2018-05-30 23:33:49 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2018-05-30 17:33:49 -0600 |
commit | 786b5b872201f3588d4b36e5b8afc4b8b0cd42b5 (patch) | |
tree | 1b6039501580d9e98720087d45265aa456baa4af | |
parent | 98c112851b10eb607c63d846b5beb786ccbc1ed6 (diff) | |
download | gcc-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
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/msp430/msp430.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index da3064e..33c6090e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2018-05-30 Jozef Lawrynowicz <jozef.l@mittosystems.com> + * 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 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); } |