aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-05-30 12:51:39 +0930
committerAlan Modra <amodra@gmail.com>2023-05-30 12:51:39 +0930
commit0b32bdabdca7162945f9c03314e8364a6556b796 (patch)
treef796e2714dcb40a39db38fd8e993715217854edd /gas/config
parente193947c3ba3e5bffcdb8c3729044d74fbe862a2 (diff)
downloadfsf-binutils-gdb-0b32bdabdca7162945f9c03314e8364a6556b796.zip
fsf-binutils-gdb-0b32bdabdca7162945f9c03314e8364a6556b796.tar.gz
fsf-binutils-gdb-0b32bdabdca7162945f9c03314e8364a6556b796.tar.bz2
Don't define COFF_MAGIC
This macro was unused apart from aout/encap.h, which has been deleted. * config/tc-arm.h (COFF_MAGIC): Don't define. * config/tc-sh.h (COFF_MAGIC): Don't define. * config/tc-z80.h (COFF_MAGIC): Don't define. * config/tc-z8k.h (COFF_MAGIC): Don't define.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-arm.h1
-rw-r--r--gas/config/tc-sh.h2
-rw-r--r--gas/config/tc-z80.h1
-rw-r--r--gas/config/tc-z8k.h1
4 files changed, 0 insertions, 5 deletions
diff --git a/gas/config/tc-arm.h b/gas/config/tc-arm.h
index 95fe525..9d6b303 100644
--- a/gas/config/tc-arm.h
+++ b/gas/config/tc-arm.h
@@ -28,7 +28,6 @@
#define WORKING_DOT_WORD
-#define COFF_MAGIC ARMMAGIC
#define TARGET_ARCH bfd_arch_arm
#define DIFF_EXPR_OK
diff --git a/gas/config/tc-sh.h b/gas/config/tc-sh.h
index 23875ab..b157bd4 100644
--- a/gas/config/tc-sh.h
+++ b/gas/config/tc-sh.h
@@ -130,8 +130,6 @@ extern void sh_frob_file (void);
#ifdef OBJ_COFF
/* COFF specific definitions. */
-#define COFF_MAGIC (!target_big_endian ? SH_ARCH_MAGIC_LITTLE : SH_ARCH_MAGIC_BIG)
-
#define tc_coff_symbol_emit_hook(a) ; /* Not used. */
#define TC_KEEP_FX_OFFSET 1
diff --git a/gas/config/tc-z80.h b/gas/config/tc-z80.h
index ef17cce..c86a1ea 100644
--- a/gas/config/tc-z80.h
+++ b/gas/config/tc-z80.h
@@ -28,7 +28,6 @@
#define TARGET_FORMAT "elf32-z80"
#endif
#define BFD_ARCH TARGET_ARCH
-#define COFF_MAGIC 0x5A80
#define TARGET_BYTES_BIG_ENDIAN 0
/* If you define this macro, GAS will warn about the
diff --git a/gas/config/tc-z8k.h b/gas/config/tc-z8k.h
index 463f1a8..4f511e9 100644
--- a/gas/config/tc-z8k.h
+++ b/gas/config/tc-z8k.h
@@ -27,7 +27,6 @@ struct internal_reloc;
#define WORKING_DOT_WORD
-#define COFF_MAGIC 0x8000
#define IGNORE_NONSTANDARD_ESCAPES
#undef WARN_SIGNED_OVERFLOW_WORD