aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-h8300.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 4a6925f..861ca06 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2002-08-21 Nitin Gupta <niting@noida.hcltech.com>
+
+ * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define.
+
2002-08-21 Elena Zannoni <ezannoni@redhat.com>
* config/tc-ppc.c (ppc_cleanup): Do something only if format
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