mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 05:16:47 +08:00
style: fix spelling in code comments and strings
This commit is contained in:
@@ -191,7 +191,7 @@ int up_relocateadd(const Elf64_Rela *rel, const Elf64_Sym *sym,
|
||||
value = (sym->st_value + rel->r_addend - addr +
|
||||
CONFIG_ARCH_TEXT_VBASE);
|
||||
|
||||
/* Convert MOV to LEA - other relocations not suported */
|
||||
/* Convert MOV to LEA - other relocations not supported */
|
||||
|
||||
if (*(uint8_t *)(addr - 2) != OPCODE_MOV)
|
||||
{
|
||||
|
||||
@@ -1581,7 +1581,7 @@ L(32bytes):
|
||||
ret
|
||||
|
||||
/*
|
||||
* Aligned 8 bytes to avoid 2 branch "taken" in one 16 alinged code block.
|
||||
* Aligned 8 bytes to avoid 2 branch "taken" in one 16 aligned code block.
|
||||
*/
|
||||
ALIGN (3)
|
||||
L(less16bytes):
|
||||
|
||||
@@ -120,7 +120,7 @@ ENTRY (STRCMP)
|
||||
jnz L(less16bytes) /* If not, find different value or null char */
|
||||
#ifdef USE_AS_STRNCMP
|
||||
sub $16, %r11
|
||||
jbe L(strcmp_exitz) /* finish comparision */
|
||||
jbe L(strcmp_exitz) /* finish comparison */
|
||||
#endif
|
||||
add $16, %rsi /* prepare to search next 16 bytes */
|
||||
add $16, %rdi /* prepare to search next 16 bytes */
|
||||
@@ -317,7 +317,7 @@ L(nibble_ashr_1):
|
||||
#endif
|
||||
|
||||
pxor %xmm0, %xmm0
|
||||
sub $0x1000, %r10 /* substract 4K from %r10 */
|
||||
sub $0x1000, %r10 /* subtract 4K from %r10 */
|
||||
jmp L(gobble_ashr_1)
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user