aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2002-08-22 16:24:24 +0000
committerJeff Law <law@redhat.com>2002-08-22 16:24:24 +0000
commitdfe0d3fe28b8e6f9e8a43c9aabc09db723b52fc8 (patch)
tree9120e79eafb0cf6717d90079e6233efd344fdcde
parent75c832834627b7a75a118a8522bf759d965b1a4d (diff)
downloadgdb-dfe0d3fe28b8e6f9e8a43c9aabc09db723b52fc8.zip
gdb-dfe0d3fe28b8e6f9e8a43c9aabc09db723b52fc8.tar.gz
gdb-dfe0d3fe28b8e6f9e8a43c9aabc09db723b52fc8.tar.bz2
* config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define.
-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