aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-mips.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2005-02-10 03:07:46 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2005-02-10 03:07:46 +0000
commit7f05722e0911a6891477ffdd4ce564c68d512d22 (patch)
tree8eff85678b0ebc2c5655ba0d22646bdcae57053b /bfd/elf64-mips.c
parent4297f9f1cc92f09faef1ebf6857da57b50f85d2c (diff)
downloadgdb-7f05722e0911a6891477ffdd4ce564c68d512d22.zip
gdb-7f05722e0911a6891477ffdd4ce564c68d512d22.tar.gz
gdb-7f05722e0911a6891477ffdd4ce564c68d512d22.tar.bz2
* elf64-mips.c (mips16_gprel_reloc): Update a comment.
* elfn32-mips.c (mips16_gprel_reloc): Keep R_MIPS16_GPREL relocations against external symbols unchanged.
Diffstat (limited to 'bfd/elf64-mips.c')
-rw-r--r--bfd/elf64-mips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf64-mips.c b/bfd/elf64-mips.c
index ce37ad2..74ec7cb 100644
--- a/bfd/elf64-mips.c
+++ b/bfd/elf64-mips.c
@@ -1709,8 +1709,8 @@ mips16_gprel_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
bfd_signed_vma val;
bfd_vma relocation;
- /* If we're relocating, and this is an external symbol with no
- addend, we don't want to change anything. */
+ /* If we're relocating, and this is an external symbol, we don't want
+ to change anything. */
if (output_bfd != NULL
&& (symbol->flags & BSF_SECTION_SYM) == 0
&& (symbol->flags & BSF_LOCAL) != 0)