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.
This commit is contained in:
parent
f3a01d90ed
commit
df0f11ff33
1 changed files with 5 additions and 3 deletions
|
@ -2947,9 +2947,7 @@ write_object_file ()
|
||||||
|
|
||||||
H_SET_STRING_SIZE (&headers, string_byte_count);
|
H_SET_STRING_SIZE (&headers, string_byte_count);
|
||||||
|
|
||||||
/* @@ Try this unconditionally for now. Let me know if you encounter
|
#if !defined(TC_H8300) && !defined(TC_Z8K)
|
||||||
cases that don't work. -- Ken */
|
|
||||||
#if 1 /* !defined(TC_H8300) && !defined(TC_Z8K) */
|
|
||||||
for (i = SEG_E0; i < SEG_UNKNOWN; i++)
|
for (i = SEG_E0; i < SEG_UNKNOWN; i++)
|
||||||
{
|
{
|
||||||
fixup_mdeps (segment_info[i].frchainP->frch_root, &headers, i);
|
fixup_mdeps (segment_info[i].frchainP->frch_root, &headers, i);
|
||||||
|
@ -2991,6 +2989,10 @@ write_object_file ()
|
||||||
TC_COFF_SET_MACHINE (&headers);
|
TC_COFF_SET_MACHINE (&headers);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef COFF_FLAGS
|
||||||
|
#define COFF_FLAGS 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef KEEP_RELOC_INFO
|
#ifdef KEEP_RELOC_INFO
|
||||||
H_SET_FLAGS (&headers, ((H_GET_LINENO_SIZE(&headers) ? 0 : F_LNNO) |
|
H_SET_FLAGS (&headers, ((H_GET_LINENO_SIZE(&headers) ? 0 : F_LNNO) |
|
||||||
COFF_FLAGS | coff_flags));
|
COFF_FLAGS | coff_flags));
|
||||||
|
|
Loading…
Reference in a new issue