aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/hppa
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2023-05-30 23:02:29 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2023-05-30 23:02:29 +0000
commit65cc53fe7c6556b90159b8c3da1eb283792387db (patch)
tree879c71521e54f86942bf3ba2a39f9b4bc2dfb915 /sysdeps/hppa
parent4d0fe291aed3a476a3b59c4ecfae9d35ac0f15e8 (diff)
downloadglibc-65cc53fe7c6556b90159b8c3da1eb283792387db.zip
glibc-65cc53fe7c6556b90159b8c3da1eb283792387db.tar.gz
glibc-65cc53fe7c6556b90159b8c3da1eb283792387db.tar.bz2
Fix misspellings in sysdeps/ -- BZ 25337
Diffstat (limited to 'sysdeps/hppa')
-rw-r--r--sysdeps/hppa/__longjmp.c2
-rw-r--r--sysdeps/hppa/dl-fptr.c2
-rw-r--r--sysdeps/hppa/dl-trampoline.S8
-rw-r--r--sysdeps/hppa/nptl/bits/struct_mutex.h2
4 files changed, 7 insertions, 7 deletions
diff --git a/sysdeps/hppa/__longjmp.c b/sysdeps/hppa/__longjmp.c
index 055cc26..cbd701e 100644
--- a/sysdeps/hppa/__longjmp.c
+++ b/sysdeps/hppa/__longjmp.c
@@ -61,7 +61,7 @@ __longjmp (__jmp_buf env, int val)
"ldw 76(%1), %%r30\n\t"
/* Load return pointer. */
"ldw 80(%1), %%rp\n\t"
- /* Ues a spare caller saves register. */
+ /* Use a spare caller saves register. */
"ldo 88(%1),%%r25\n\t"
/* Load callee saves from fr12 to fr21. */
"fldds,ma 8(%%r25), %%fr12\n\t"
diff --git a/sysdeps/hppa/dl-fptr.c b/sysdeps/hppa/dl-fptr.c
index 5218f7c..1c0d51c 100644
--- a/sysdeps/hppa/dl-fptr.c
+++ b/sysdeps/hppa/dl-fptr.c
@@ -252,7 +252,7 @@ _dl_make_fptr (struct link_map *map, const ElfW(Sym) *sym,
if (__builtin_expect (COMPARE_AND_SWAP (&ftab[symidx], (ElfW(Addr)) NULL,
fdesc), 1))
{
- /* Noone has updated the entry and the new function
+ /* No one has updated the entry and the new function
descriptor has been installed. */
#if 0
const char *strtab
diff --git a/sysdeps/hppa/dl-trampoline.S b/sysdeps/hppa/dl-trampoline.S
index ed9f7af..689c6e1 100644
--- a/sysdeps/hppa/dl-trampoline.S
+++ b/sysdeps/hppa/dl-trampoline.S
@@ -272,7 +272,7 @@ L(cpe):
addi 63, %r28, %r28
depi 0, 27, 6, %r28
- /* Calcualte start of stack copy */
+ /* Calculate start of stack copy */
ldo -192(%sp),%r2
/* Increate the stack by *framesizep */
@@ -281,14 +281,14 @@ L(cpe):
/* Save stack pointer */
stw %r1, -4(%sp)
- /* Single byte copy of prevous stack onto newly allocated stack */
+ /* Single byte copy of previous stack onto newly allocated stack */
1: ldb %r28(%r2), %r1
add %r28, %sp, %r26
stb %r1, 0(%r26)
addi,< -1,%r28,%r28
b,n 1b
- /* Retore r28 and r27 and r2 already points at -192(%sp) */
+ /* Restore r28 and r27 and r2 already points at -192(%sp) */
ldw 0(%r2),%r28
ldw 84(%r2),%r26
@@ -324,7 +324,7 @@ L(cont):
/* Unwind the stack */
ldo 192(%sp),%sp
- /* Retore callers rp */
+ /* Restore callers rp */
ldw -20(%sp),%rp
/* Return */
bv,n 0(%r2)
diff --git a/sysdeps/hppa/nptl/bits/struct_mutex.h b/sysdeps/hppa/nptl/bits/struct_mutex.h
index 9033fdf..899212a 100644
--- a/sysdeps/hppa/nptl/bits/struct_mutex.h
+++ b/sysdeps/hppa/nptl/bits/struct_mutex.h
@@ -27,7 +27,7 @@ struct __pthread_mutex_s
/* KIND must stay at this position in the structure to maintain
binary compatibility with static initializers. */
int __kind;
- /* The old 4-word 16-byte aligned lock. This is initalized
+ /* The old 4-word 16-byte aligned lock. This is initialized
to all ones by the Linuxthreads PTHREAD_MUTEX_INITIALIZER.
Unused in NPTL. */
int __glibc_compat_padding[4];