Blame binutils-2.24-weak-sym-merge.patch
|
Nick Clifton |
2bd8f3 |
*** ../binutils-2.24.orig/bfd/elflink.c 2014-08-15 14:12:59.933394436 +0100
|
|
Nick Clifton |
2bd8f3 |
--- bfd/elflink.c 2014-08-15 14:40:54.787075416 +0100
|
|
Nick Clifton |
2bd8f3 |
*************** _bfd_elf_merge_symbol (bfd *abfd,
|
|
Nick Clifton |
2bd8f3 |
*** 1437,1443 ****
|
|
Nick Clifton |
2bd8f3 |
if (!(oldbfd != NULL
|
|
Nick Clifton |
2bd8f3 |
&& (oldbfd->flags & BFD_PLUGIN) != 0
|
|
Nick Clifton |
2bd8f3 |
&& (abfd->flags & BFD_PLUGIN) == 0))
|
|
Nick Clifton |
2bd8f3 |
! *skip = TRUE;
|
|
Nick Clifton |
2bd8f3 |
|
|
Nick Clifton |
2bd8f3 |
/* Merge st_other. If the symbol already has a dynamic index,
|
|
Nick Clifton |
2bd8f3 |
but visibility says it should not be visible, turn it into a
|
|
Nick Clifton |
2bd8f3 |
--- 1437,1446 ----
|
|
Nick Clifton |
2bd8f3 |
if (!(oldbfd != NULL
|
|
Nick Clifton |
2bd8f3 |
&& (oldbfd->flags & BFD_PLUGIN) != 0
|
|
Nick Clifton |
2bd8f3 |
&& (abfd->flags & BFD_PLUGIN) == 0))
|
|
Nick Clifton |
2bd8f3 |
! {
|
|
Nick Clifton |
2bd8f3 |
! newdef = FALSE;
|
|
Nick Clifton |
2bd8f3 |
! *skip = TRUE;
|
|
Nick Clifton |
2bd8f3 |
! }
|
|
Nick Clifton |
2bd8f3 |
|
|
Nick Clifton |
2bd8f3 |
/* Merge st_other. If the symbol already has a dynamic index,
|
|
Nick Clifton |
2bd8f3 |
but visibility says it should not be visible, turn it into a
|