aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1995-03-09 21:51:42 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1995-03-09 21:51:42 +0000
commitdf0f11ff3306c0ff15078a8438066b12a2e50d7d (patch)
tree05911e97f8d954fbcd03d17dd7e933deb1a5e23a
parentf3a01d90ed9204190d13312119304dd14faa9b5d (diff)
downloadfsf-binutils-gdb-df0f11ff3306c0ff15078a8438066b12a2e50d7d.zip
fsf-binutils-gdb-df0f11ff3306c0ff15078a8438066b12a2e50d7d.tar.gz
fsf-binutils-gdb-df0f11ff3306c0ff15078a8438066b12a2e50d7d.tar.bz2
Delete this patch, it breaks the h8300 assembler.
* config/obj-coff.c (write_object_file): Don't treat h8300 and z8k specially with regard to fixups.
-rw-r--r--gas/config/obj-coff.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c
index 4cef5e9..79b9af2 100644
--- a/gas/config/obj-coff.c
+++ b/gas/config/obj-coff.c
@@ -2947,9 +2947,7 @@ write_object_file ()
H_SET_STRING_SIZE (&headers, string_byte_count);
- /* @@ Try this unconditionally for now. Let me know if you encounter
- cases that don't work. -- Ken */
-#if 1 /* !defined(TC_H8300) && !defined(TC_Z8K) */
+#if !defined(TC_H8300) && !defined(TC_Z8K)
for (i = SEG_E0; i < SEG_UNKNOWN; i++)
{
fixup_mdeps (segment_info[i].frchainP->frch_root, &headers, i);
@@ -2991,6 +2989,10 @@ write_object_file ()
TC_COFF_SET_MACHINE (&headers);
#endif
+#ifndef COFF_FLAGS
+#define COFF_FLAGS 0
+#endif
+
#ifdef KEEP_RELOC_INFO
H_SET_FLAGS (&headers, ((H_GET_LINENO_SIZE(&headers) ? 0 : F_LNNO) |
COFF_FLAGS | coff_flags));