Bug 22069

Summary: Several instances of register accidentally spelled as regsiter
Product: binutils Reporter: sebras
Component: binutilsAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: normal CC: amodra
Priority: P2    
Version: 2.30   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Attachments: Proposed patch.

Description sebras 2017-09-03 11:41:25 UTC
Created attachment 10389 [details]
Proposed patch.

The attached patch fixes all typos.

Note that there is also a header file that spelled this word wrong.
In this case I duplicated the define and have one spelled correctly
and one spelled incorrectly (to retain backards compatibility). All
code in binutils itself has been corrected though.
Comment 1 cvs-commit@gcc.gnu.org 2018-05-09 06:38:27 UTC
The master branch has been updated by Alan Modra <amodra@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=84f9f8c33021593afd79fc89cc419db44f7bc112

commit 84f9f8c33021593afd79fc89cc419db44f7bc112
Author: Alan Modra <amodra@gmail.com>
Date:   Wed May 9 15:50:29 2018 +0930

    PR22069, Several instances of register accidentally spelled as regsiter
    
    	PR 22069
    binutils/
    	* od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
    cpu/ChangeLog
    	* or1kcommon.cpu (spr-reg-info): Typo fix.
    include/ChangeLog
    	* mach-o/unwind.h (MACH_O_UNWIND_X86_64_RBP_FRAME_REGISTERS):
    	Rename from MACH_O_UNWIND_X86_64_RBP_FRAME_REGSITERS.
    	(MACH_O_UNWIND_X86_EBP_FRAME_REGISTERS): Rename from
    	MACH_O_UNWIND_X86_EBP_FRAME_REGSITERS.
    opcodes/ChangeLog
    	* cr16-opc.c (cr16_instruction): Comment typo fix.
    	* hppa-dis.c (print_insn_hppa): Likewise.
    sim/ppc/ChangeLog
    	* e500_registers.h: Comment typo fix.
    	* ppc-instructions (ppc_insn_mfcr): Likewise.
Comment 2 Alan Modra 2018-05-09 07:54:11 UTC
Fixed
Comment 3 cvs-commit@gcc.gnu.org 2018-05-09 11:16:42 UTC
The master branch has been updated by Alan Modra <amodra@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=60cb2c8a331ed8e4ad20afc51f9cdb3d8d18a869

commit 60cb2c8a331ed8e4ad20afc51f9cdb3d8d18a869
Author: Alan Modra <amodra@gmail.com>
Date:   Wed May 9 20:35:43 2018 +0930

    Fix typo in od-macho.c
    
    	PR 22069
    	* od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.