[PATCH 4/4] define ASM_OUTPUT_LABEL to the name of a function
Segher Boessenkool
segher@kernel.crashing.org
Sat Jul 25 18:34:00 GMT 2015
On Fri, Jul 24, 2015 at 10:37:00PM -0400, tbsaunde+gcc@tbsaunde.org wrote:
> --- a/gcc/config/pa/pa.c
> +++ b/gcc/config/pa/pa.c
> @@ -9761,6 +9761,18 @@ pa_reloc_rw_mask (void)
> return 3;
> }
>
> +/* Assemble a lable. */
Typo.
> +void
> +pa_output_label (FILE *f, const char *label)
> +{
> + assemble_name (f, label);
> + if (TARGET_GAS)
> + fputs (":\n", f);
> + else
> + fputc ('\n', (f));
You forgot to remove the extra parens here :-)
If so many targets use default_assemble_label, can you make it an actual
default instead of defining it everywhere?
Segher
More information about the Gcc-patches
mailing list