Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/external/gpl3/binutils/dist/bfd Pull up following revisio...



details:   https://anonhg.NetBSD.org/src/rev/4131372f03a0
branches:  netbsd-6
changeset: 773868:4131372f03a0
user:      riz <riz%NetBSD.org@localhost>
date:      Sat Mar 03 00:52:57 2012 +0000

description:
Pull up following revision(s) (requested by matt in ticket #82):
        external/gpl3/binutils/dist/bfd/elfxx-mips.c: revision 1.6
Fix support for .protected symbols.

diffstat:

 external/gpl3/binutils/dist/bfd/elfxx-mips.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r c140d5031498 -r 4131372f03a0 external/gpl3/binutils/dist/bfd/elfxx-mips.c
--- a/external/gpl3/binutils/dist/bfd/elfxx-mips.c      Fri Mar 02 18:28:35 2012 +0000
+++ b/external/gpl3/binutils/dist/bfd/elfxx-mips.c      Sat Mar 03 00:52:57 2012 +0000
@@ -5138,7 +5138,10 @@
                           || ((r_type == R_MIPS_26 || r_type == R_MIPS_JALR)
                               && target_is_16_bit_code_p));
 
-  local_p = h == NULL || SYMBOL_REFERENCES_LOCAL (info, &h->root);
+  local_p = h == NULL
+    || (h->got_only_for_calls
+       ? SYMBOL_CALLS_LOCAL (info, &h->root)
+       : SYMBOL_REFERENCES_LOCAL (info, &h->root));
 
   gp0 = _bfd_get_gp_value (input_bfd);
   gp = _bfd_get_gp_value (abfd);



Home | Main Index | Thread Index | Old Index