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
This commit is contained in:
Jozef Lawrynowicz 2018-05-30 23:33:49 +00:00 committed by Jeff Law
parent 98c112851b
commit 786b5b8722
2 changed files with 6 additions and 0 deletions

View File

@ -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.

View File

@ -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);
}