summaryrefslogtreecommitdiff
path: root/source/d/binutils/binutils.revert.pr15149.diff
blob: f1fe6279daf43e5fffb288b2bd31c25ba61fc96c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- ./bfd/elflink.c.orig	2013-02-27 14:28:03.000000000 -0600
+++ ./bfd/elflink.c	2013-04-02 15:54:06.072211349 -0500
@@ -4080,8 +4080,7 @@
 					FALSE, FALSE, FALSE);
 
 	      if (h != NULL
-		  && (h->root.type == bfd_link_hash_undefined
-		      || h->root.type == bfd_link_hash_undefweak)
+		  && h->root.type == bfd_link_hash_undefined
 		  && h->root.u.undef.abfd)
 		undef_bfd = h->root.u.undef.abfd;
 	    }
@@ -4201,8 +4200,7 @@
 					FALSE, FALSE, FALSE);
 
 	      if (h != NULL
-		  && (h->root.type == bfd_link_hash_undefined
-		      || h->root.type == bfd_link_hash_undefweak)
+		  && h->root.type == bfd_link_hash_undefined
 		  && h->root.u.undef.abfd)
 		undef_bfd = h->root.u.undef.abfd;
 	    }