diff mbox

[SH,committed] Use default ASM_OUTPUT_SYMBOL_REF

Message ID 1464710327.15496.9.camel@t-online.de
State New
Headers show

Commit Message

Oleg Endo May 31, 2016, 3:58 p.m. UTC
Hi,

Since the SH5 stuff is gone, there's no need to override the
 ASM_OUTPUT_SYMBOL_REF target macro anymore.

Tested on sh-elf with
make -k check RUNTESTFLAGS="--target_board=sh-sim\{-m2/-ml,-m2/-mb,
-m2a/-mb,-m4/-ml,-m4/-mb,-m4a/-ml,-m4a/-mb}"

Committed as r236930.

Cheers,
Oleg

gcc/ChangeLog:
	* config/sh/sh.h (ASM_OUTPUT_SYMBOL_REF): Remove macro and use the
	default implementation.
diff mbox

Patch

diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h
index d724bd2..0403616 100644
--- a/gcc/config/sh/sh.h
+++ b/gcc/config/sh/sh.h
@@ -1718,15 +1718,6 @@  extern bool current_function_interrupt;
    ? (24) \
    : (unsigned) -1)
 
-/* This is how to output a reference to a symbol_ref.  On SH5,
-   references to non-code symbols must be preceded by `datalabel'.  */
-#define ASM_OUTPUT_SYMBOL_REF(FILE,SYM)			\
-  do 							\
-    {							\
-      assemble_name ((FILE), XSTR ((SYM), 0));		\
-    }							\
-  while (0)
-
 /* This is how to output an assembler line
    that says to advance the location counter
    to a multiple of 2**LOG bytes.  */