Drop more COFF support from H8 port
authorJeff Law <law@torsion.usersys.redhat.com>
Thu, 7 May 2020 21:25:30 +0000 (17:25 -0400)
committerJeff Law <law@torsion.usersys.redhat.com>
Thu, 7 May 2020 21:25:45 +0000 (17:25 -0400)
* config/h8300/h8300.h (LINK_SPEC): Remove.
(USER_LABEL_PREFIX): Likewise.

gcc/ChangeLog
gcc/config/h8300/h8300.h

index c2382f7f2d14b69404e5743a3ae8e92cbfe3a08e..036d386d0406eafbe40a295bbc9389f21aba00dd 100644 (file)
@@ -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.
 
index 32e5f7dc5cf3af34f95363172b70c83080e7eb66..50dd7e7766c816b112421b71a40e79239be448aa 100644 (file)
@@ -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.