Don't mark relocations in excluded sections.
This commit is contained in:
parent
53b2a62f07
commit
a8fcf37848
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2002-10-07 Mark Elbrecht <snowball3@softhome.net>
|
||||
|
||||
* cofflink.c (mark_relocs): Don't mark relocations in excluded sections.
|
||||
|
||||
2002-10-07 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* elflink.h (elf_link_input_bfd): Remove BFD_VERSION_DATE dependent
|
||||
|
|
|
@ -1322,6 +1322,9 @@ mark_relocs (finfo, input_bfd)
|
|||
|
||||
if ((a->flags & SEC_RELOC) == 0 || a->reloc_count < 1)
|
||||
continue;
|
||||
/* Don't mark relocs in excluded sections. */
|
||||
if (a->output_section == bfd_abs_section_ptr)
|
||||
continue;
|
||||
|
||||
/* Read in the relocs. */
|
||||
internal_relocs = _bfd_coff_read_internal_relocs
|
||||
|
|
Loading…
Reference in a new issue