From cc3416193ab7f5bf201d4270bc169c751acd0a14 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Thu, 10 Feb 2005 03:07:46 +0000 Subject: * elf64-mips.c (mips16_gprel_reloc): Update a comment. * elfn32-mips.c (mips16_gprel_reloc): Keep R_MIPS16_GPREL relocations against external symbols unchanged. --- bfd/elf64-mips.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bfd/elf64-mips.c') diff --git a/bfd/elf64-mips.c b/bfd/elf64-mips.c index ce37ad2148..74ec7cbc47 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) -- cgit v1.2.1