aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-h8300.h
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-h8300.h')
-rw-r--r--gas/config/tc-h8300.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/tc-h8300.h b/gas/config/tc-h8300.h
index e3208f4..79647a6 100644
--- a/gas/config/tc-h8300.h
+++ b/gas/config/tc-h8300.h
@@ -26,6 +26,10 @@
#define TARGET_ARCH bfd_arch_h8300
+#ifdef BFD_ASSEMBLER
+/* Fixup debug sections since we will never relax them. */
+#define TC_LINKRELAX_FIXUP(seg) (seg->flags & SEC_ALLOC)
+#endif
#ifdef OBJ_ELF
#define TARGET_FORMAT "elf32-h8300"
#endif