diff options
Diffstat (limited to 'gcc/config/ft32/ft32.h')
-rw-r--r-- | gcc/config/ft32/ft32.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/config/ft32/ft32.h b/gcc/config/ft32/ft32.h index 7c3a678b9a7..dd40b1de0b6 100644 --- a/gcc/config/ft32/ft32.h +++ b/gcc/config/ft32/ft32.h @@ -506,4 +506,14 @@ do { \ extern int ft32_is_mem_pm(rtx o); +#define ASM_OUTPUT_SYMBOL_REF(stream, sym) \ + do { \ + assemble_name (stream, XSTR (sym, 0)); \ + int section_debug = in_section && \ + (SECTION_STYLE (in_section) == SECTION_NAMED) && \ + (in_section->named.common.flags & SECTION_DEBUG); \ + if (!section_debug && SYMBOL_REF_FLAGS (sym) & 0x1000) \ + asm_fprintf (stream, "-0x800000"); \ + } while (0) + #endif /* GCC_FT32_H */ |