]> Git Repo - binutils.git/blobdiff - bfd/elf64-mips.c
* elf32-mips.c (mips_elf_gprel32_reloc): Reject
[binutils.git] / bfd / elf64-mips.c
index 699b8628cf36205127ca9b850bb4d154edc5d88f..e1051be9b086f06bd6cc2cb35831b4ce8a814ad7 100644 (file)
@@ -1586,8 +1586,7 @@ mips_elf64_gprel32_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
   bfd_vma relocation;
   bfd_vma val;
 
-  /* If we're relocating, and this is an external symbol, we don't want
-     to change anything.  */
+  /* R_MIPS_GPREL32 relocations are defined for local symbols only.  */
   if (output_bfd != NULL
       && (symbol->flags & BSF_SECTION_SYM) == 0
       && (symbol->flags & BSF_LOCAL) != 0)
This page took 0.021927 seconds and 4 git commands to generate.