summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authormaya <maya@NetBSD.org>2017-12-25 05:29:27 +0000
committermaya <maya@NetBSD.org>2017-12-25 05:29:27 +0000
commit7973ce5bcbdc6434fd65e9e6fb11e3c50b8eeec0 (patch)
tree77f159923b8f949d8b49e570c59c8874ccf4376c /libexec
parent2f8e6c8e45ab9793d7bf0869237a1186c5f1b9f2 (diff)
Fix typo in comment
from freebsd
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ld.elf_so/arch/mips/mips_reloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ld.elf_so/arch/mips/mips_reloc.c b/libexec/ld.elf_so/arch/mips/mips_reloc.c
index b5311f410b9..52f0220985f 100644
--- a/libexec/ld.elf_so/arch/mips/mips_reloc.c
+++ b/libexec/ld.elf_so/arch/mips/mips_reloc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: mips_reloc.c,v 1.70 2017/12/24 01:22:16 maya Exp $ */
+/* $NetBSD: mips_reloc.c,v 1.71 2017/12/25 05:29:27 maya Exp $ */
/*
* Copyright 1997 Michael L. Hitch <mhitch@montana.edu>
@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: mips_reloc.c,v 1.70 2017/12/24 01:22:16 maya Exp $");
+__RCSID("$NetBSD: mips_reloc.c,v 1.71 2017/12/25 05:29:27 maya Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -61,7 +61,7 @@ caddr_t _rtld_bind(Elf_Word, Elf_Addr, Elf_Addr, Elf_Addr);
* ELF64 MIPS encodes the relocs uniquely. The first 32-bits of info contain
* the symbol index. The top 32-bits contain three relocation types encoded
* in big-endian integer with first relocation in LSB. This means for little
- * endian we have to byte swap that interger (r_type).
+ * endian we have to byte swap that integer (r_type).
*/
#define Elf_Sxword Elf64_Sxword
#define ELF_R_NXTTYPE_64_P(r_type) ((((r_type) >> 8) & 0xff) == R_TYPE(64))