diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2002-12-02 09:06:04 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-12-02 09:06:04 +0000 |
commit | 898696a8b3c6a673c21418780d6dbd6c54713b06 (patch) | |
tree | b6de1df6076881154726637e90c9d9bae94bab79 /contrib/binutils/bfd/cofflink.c | |
parent | 03206231152ffe0138bdf8eec9428d8fc12c6ec9 (diff) | |
download | src-898696a8b3c6a673c21418780d6dbd6c54713b06.tar.gz src-898696a8b3c6a673c21418780d6dbd6c54713b06.zip |
Notes
Diffstat (limited to 'contrib/binutils/bfd/cofflink.c')
-rw-r--r-- | contrib/binutils/bfd/cofflink.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/binutils/bfd/cofflink.c b/contrib/binutils/bfd/cofflink.c index eb9388fc71ed..c1302ee878a2 100644 --- a/contrib/binutils/bfd/cofflink.c +++ b/contrib/binutils/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 |