diff options
author | Nick Clifton <nickc@redhat.com> | 2002-10-07 16:27:39 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-10-07 16:27:39 +0000 |
commit | 5fe21b84cfe81666962a562c9cd95d928240588d (patch) | |
tree | b68a97be5d9640caafe33dc88181b8558986de74 /bfd/cofflink.c | |
parent | cbd6a3d32ef696186a170923dc6df697dd27843b (diff) | |
download | binutils-redhat-5fe21b84cfe81666962a562c9cd95d928240588d.tar.gz |
Don't mark relocations in excluded sections.
Diffstat (limited to 'bfd/cofflink.c')
-rw-r--r-- | bfd/cofflink.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/cofflink.c b/bfd/cofflink.c index eb9388fc71..c1302ee878 100644 --- a/bfd/cofflink.c +++ b/bfd/cofflink.c @@ -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 |