mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-14 15:50:34 +00:00
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
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user