mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-01 20:12:01 +08:00
1999-09-13 Donn Terry <donn@interix.com>
* coffcode.h (coff_write_object_contents): Don't check reloc_count when determining whether to set F_RELFLG.
This commit is contained in:
@ -3072,8 +3072,11 @@ coff_write_object_contents (abfd)
|
||||
section.s_lnnoptr = current->line_filepos;
|
||||
section.s_nreloc = current->reloc_count;
|
||||
section.s_nlnno = current->lineno_count;
|
||||
#ifndef COFF_IMAGE_WITH_PE
|
||||
/* In PEI, relocs come in the .reloc section. */
|
||||
if (current->reloc_count != 0)
|
||||
hasrelocs = true;
|
||||
#endif
|
||||
if (current->lineno_count != 0)
|
||||
haslinno = true;
|
||||
if ((current->flags & SEC_DEBUGGING) != 0
|
||||
|
Reference in New Issue
Block a user