View | Details | Raw Unified | Return to bug 12614 | Differences between
and this patch

Collapse All | Expand All

(-)src/ld/emultempl/pe.em (-1 / +2 lines)
Lines 1591-1597 Link Here
1591
			   undefined references, exclude the stub section
1591
			   undefined references, exclude the stub section
1592
			   from the final link.  */
1592
			   from the final link.  */
1593
			if (blhe && (blhe->type == bfd_link_hash_defined)
1593
			if (blhe && (blhe->type == bfd_link_hash_defined)
1594
			    && (blhe->u.undef.next == NULL))
1594
			    && (blhe->u.undef.next == NULL)
1595
			    && (blhe != link_info.hash->undefs_tail))
1595
			  stub_sec->flags |= SEC_EXCLUDE;
1596
			  stub_sec->flags |= SEC_EXCLUDE;
1596
		      }
1597
		      }
1597
		  }
1598
		  }

Return to bug 12614