Bug 22069 - Several instances of register accidentally spelled as regsiter
Summary: Several instances of register accidentally spelled as regsiter
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.30
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-03 11:41 UTC by sebras
Modified: 2018-05-09 11:16 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
Proposed patch. (1.73 KB, patch)
2017-09-03 11:41 UTC, sebras
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 Sourceware Commits 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 Sourceware Commits 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.