From: Adam Nemet Date: Thu, 3 Sep 2009 18:21:21 +0000 (+0000) Subject: * elfxx-mips.c (_bfd_mips_elf_check_relocs): Don't set X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=99da6b5fe058088658dda69fdddad915c7f90d0f;p=binutils-gdb.git * elfxx-mips.c (_bfd_mips_elf_check_relocs): Don't set has_static_relocs for R_MIPS_JALR. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b796e382229..94dc04912d5 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2009-09-03 Adam Nemet + + * elfxx-mips.c (_bfd_mips_elf_check_relocs): Don't set + has_static_relocs for R_MIPS_JALR. + 2009-09-03 Maciej W. Rozycki * elf64-mips.c (mips_elf64_howto_table_rela): Add support for diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 75ce7a4e99b..cece0bc7070 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -7503,6 +7503,11 @@ _bfd_mips_elf_check_relocs (bfd *abfd, struct bfd_link_info *info, } break; + /* This is just a hint; it can safely be ignored. Don't set + has_static_relocs for the corresponding symbol. */ + case R_MIPS_JALR: + break; + case R_MIPS_32: case R_MIPS_REL32: case R_MIPS_64: