From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vmicros1.altlinux.org (vmicros1.altlinux.org [194.107.17.57]) by sourceware.org (Postfix) with ESMTP id A998C389247D for ; Sat, 12 Dec 2020 16:50:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A998C389247D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=altlinux.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=ldv@altlinux.org Received: from mua.local.altlinux.org (mua.local.altlinux.org [192.168.1.14]) by vmicros1.altlinux.org (Postfix) with ESMTP id 3164672C8B5 for ; Sat, 12 Dec 2020 19:50:58 +0300 (MSK) Received: by mua.local.altlinux.org (Postfix, from userid 508) id 20A9F7CC8A3; Sat, 12 Dec 2020 19:50:57 +0300 (MSK) Date: Sat, 12 Dec 2020 19:50:57 +0300 From: "Dmitry V. Levin" To: elfutils-devel@sourceware.org Subject: [PATCH 05/12] libcpu: fix spelling typos in comments Message-ID: <20201212165057.GE503@altlinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201212164901.GA474@altlinux.org> X-Spam-Status: No, score=-12.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Dec 2020 16:50:59 -0000 layed -> laid adressing -> addressing Signed-off-by: Dmitry V. Levin --- libcpu/ChangeLog | 5 +++++ libcpu/bpf_disasm.c | 2 +- libcpu/i386_disasm.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libcpu/ChangeLog b/libcpu/ChangeLog index a342b7f6..000105bf 100644 --- a/libcpu/ChangeLog +++ b/libcpu/ChangeLog @@ -1,3 +1,8 @@ +2020-12-12 Dmitry V. Levin + + * bpf_disasm.c (bswap_bpf_insn): Fix spelling typo in comment. + * i386_disasm.c (i386_disasm): Likewise. + 2020-05-09 Mark Wielaard * i386_parse.y (new_bitfield): Call free newp on error. diff --git a/libcpu/bpf_disasm.c b/libcpu/bpf_disasm.c index 3d92d014..62643c81 100644 --- a/libcpu/bpf_disasm.c +++ b/libcpu/bpf_disasm.c @@ -74,7 +74,7 @@ static void bswap_bpf_insn (struct bpf_insn *p) { /* Note that the dst_reg and src_reg fields are 4-bit bitfields. - That means these two nibbles are (typically) layed out in the + That means these two nibbles are (typically) laid out in the opposite order between big- and little-endian hosts. This is not required by any standard, but does happen to be true for at least ppc, s390, arm and mips as big-endian hosts. */ diff --git a/libcpu/i386_disasm.c b/libcpu/i386_disasm.c index 32df8cd0..fd7340cc 100644 --- a/libcpu/i386_disasm.c +++ b/libcpu/i386_disasm.c @@ -588,7 +588,7 @@ i386_disasm (Ebl *ebl __attribute__((unused)), } /* We have a match. First determine how many bytes are - needed for the adressing mode. */ + needed for the addressing mode. */ param_start = codep; if (instrtab[cnt].modrm) { -- ldv