binutils/binutils-2.23.52.0.1-revert-pr15149.patch
2013-03-08 12:21:56 +00:00

39 lines
1.1 KiB
Diff

*** ../binutils-2.23.52.0.1.orig/bfd/elflink.c 2013-03-08 12:02:14.544141961 +0000
--- bfd/elflink.c 2013-03-08 12:03:40.952144356 +0000
*************** error_free_dyn:
*** 4080,4087 ****
FALSE, FALSE, FALSE);
if (h != NULL
! && (h->root.type == bfd_link_hash_undefined
! || h->root.type == bfd_link_hash_undefweak)
&& h->root.u.undef.abfd)
undef_bfd = h->root.u.undef.abfd;
}
--- 4080,4086 ----
FALSE, FALSE, FALSE);
if (h != NULL
! && h->root.type == bfd_link_hash_undefined
&& h->root.u.undef.abfd)
undef_bfd = h->root.u.undef.abfd;
}
*************** error_free_dyn:
*** 4201,4208 ****
FALSE, FALSE, FALSE);
if (h != NULL
! && (h->root.type == bfd_link_hash_undefined
! || h->root.type == bfd_link_hash_undefweak)
&& h->root.u.undef.abfd)
undef_bfd = h->root.u.undef.abfd;
}
--- 4200,4206 ----
FALSE, FALSE, FALSE);
if (h != NULL
! && h->root.type == bfd_link_hash_undefined
&& h->root.u.undef.abfd)
undef_bfd = h->root.u.undef.abfd;
}