varasm.c (default_asm_output_anchor): Prepend * to . symbol in order to prevent it from being munged by the target.

* varasm.c (default_asm_output_anchor): Prepend * to . symbol in order to 
  prevent it from being munged by the target.

From-SVN: r121992
This commit is contained in:
Nick Clifton 2007-02-15 10:33:59 +00:00 committed by Nick Clifton
parent 62e4530bcf
commit c1a1cc5fcb
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-02-15 Nick Clifton <nickc@redhat.com>
* varasm.c (default_asm_output_anchor): Prepend * to . symbol in
order to prevent it from being munged by the target.
2007-02-15 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md: Remove misleading comment.

View File

@ -6098,7 +6098,7 @@ default_asm_output_anchor (rtx symbol)
{
char buffer[100];
sprintf (buffer, ". + " HOST_WIDE_INT_PRINT_DEC,
sprintf (buffer, "*. + " HOST_WIDE_INT_PRINT_DEC,
SYMBOL_REF_BLOCK_OFFSET (symbol));
ASM_OUTPUT_DEF (asm_out_file, XSTR (symbol, 0), buffer);
}