From 4f4b0b5073010ff850cc95a6bd074066eeb7dccb Mon Sep 17 00:00:00 2001 From: obrien Date: Mon, 2 Dec 2002 09:06:04 +0000 Subject: Import of Binutils from the FSF 2.13 branch (just pre-.2 release). These bits are taken from the FSF anoncvs repo on 27-Oct-2002 21:12:00 EST. --- contrib/binutils/bfd/cofflink.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'contrib/binutils/bfd/cofflink.c') diff --git a/contrib/binutils/bfd/cofflink.c b/contrib/binutils/bfd/cofflink.c index eb9388f..c1302ee 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 -- cgit v1.1