aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@torsion.usersys.redhat.com>2020-05-07 17:25:30 -0400
committerJeff Law <law@torsion.usersys.redhat.com>2020-05-07 17:25:45 -0400
commitb9cb3bb9ad0dd1bc780a857b96e7bd9c82ba58e6 (patch)
tree90415e3efdb3989e1774563d13b24b30679dd749
parentf69785246f28e9d82b5c2c96ecbef17c280142ca (diff)
downloadgcc-b9cb3bb9ad0dd1bc780a857b96e7bd9c82ba58e6.zip
gcc-b9cb3bb9ad0dd1bc780a857b96e7bd9c82ba58e6.tar.gz
gcc-b9cb3bb9ad0dd1bc780a857b96e7bd9c82ba58e6.tar.bz2
Drop more COFF support from H8 port
* config/h8300/h8300.h (LINK_SPEC): Remove. (USER_LABEL_PREFIX): Likewise.
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/h8300/h8300.h6
2 files changed, 3 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c2382f7..036d386 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 32e5f7d..50dd7e7 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.