aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
diff options
context:
space:
mode:
authorAdam Nemet <anemet@caviumnetworks.com>2009-09-03 18:21:21 +0000
committerAdam Nemet <anemet@caviumnetworks.com>2009-09-03 18:21:21 +0000
commit99da6b5fe058088658dda69fdddad915c7f90d0f (patch)
tree3f1f5c71899c61d3f63c0c2776b1b92865a584b2 /bfd/elfxx-mips.c
parent032f3e01ca57897834b9d08a7715f6a358e7debb (diff)
downloadfsf-binutils-gdb-99da6b5fe058088658dda69fdddad915c7f90d0f.zip
fsf-binutils-gdb-99da6b5fe058088658dda69fdddad915c7f90d0f.tar.gz
fsf-binutils-gdb-99da6b5fe058088658dda69fdddad915c7f90d0f.tar.bz2
* elfxx-mips.c (_bfd_mips_elf_check_relocs): Don't set
has_static_relocs for R_MIPS_JALR.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index 75ce7a4..cece0bc 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: