diff mbox series

[committed] Dropping more COFF support

Message ID 65a1948fc612610faf8b89a7e268cf7f963be6b7.camel@redhat.com
State New
Headers show
Series [committed] Dropping more COFF support | expand

Commit Message

Li, Pan2 via Gcc-patches May 7, 2020, 9:27 p.m. UTC
I keep finding these tidbits...  In the case of these two macros, they are always
provided by elf.h and/or linux.h.

Committing to the trunk.

Jeff
commit b9cb3bb9ad0dd1bc780a857b96e7bd9c82ba58e6
Author: Jeff Law <law@torsion.usersys.redhat.com>
Date:   Thu May 7 17:25:30 2020 -0400

    Drop more COFF support from H8 port
    
            * config/h8300/h8300.h (LINK_SPEC): Remove.
            (USER_LABEL_PREFIX): Likewise.
diff mbox series

Patch

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c2382f7f2d1..036d386d040 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@ 
 2020-05-07 Jeff Law  <law@redhat.com>
 
+	* config/h8300/h8300.h (LINK_SPEC): Remove.
+	(USER_LABEL_PREFIX): Likewise.
+
 	* config/h8300/h8300.c (h8300_asm_named_section): Remove.
 	(h8300_option_override): Remove remnants of COFF support.
 
diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h
index 32e5f7dc5cf..50dd7e7766c 100644
--- a/gcc/config/h8300/h8300.h
+++ b/gcc/config/h8300/h8300.h
@@ -76,8 +76,6 @@  extern const char * const *h8_reg_names;
     }							\
   while (0)
 
-#define LINK_SPEC "%{mh:%{mn:-m h8300hn}} %{mh:%{!mn:-m h8300h}} %{ms:%{mn:-m h8300sn}} %{ms:%{!mn:-m h8300s}}"
-
 #define LIB_SPEC "%{mrelax:-relax} %{g:-lg} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
 
 /* Macros used in the machine description to test the flags.  */
@@ -659,10 +657,6 @@  struct cum_arg
 #define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL) \
    ASM_OUTPUT_LABEL (FILE, NAME)
 
-/* The prefix to add to user-visible assembler symbols.  */
-
-#define USER_LABEL_PREFIX "_"
-
 /* This is how to store into the string LABEL
    the symbol_ref name of an internal numbered label where
    PREFIX is the class of label and NUM is the number within the class.