Fix support for .protected symbols.

This commit is contained in:
matt 2012-03-02 16:37:16 +00:00
parent 079328a547
commit 82cfc8036f

View File

@ -5138,7 +5138,10 @@ mips_elf_calculate_relocation (bfd *abfd, bfd *input_bfd,
|| ((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);