int consider_profiling = GLRO(dl_profile) != NULL;
- /* If we are profiling we also must do lazy reloaction. */
+ /* If we are profiling we also must do lazy relocation. */
GLRO(dl_lazy) |= consider_profiling;
/* If libc.so has been loaded, relocate it early, after the dynamic
_dl_relocate_object (l, l->l_scope, GLRO(dl_lazy) ? RTLD_LAZY : 0,
consider_profiling);
- /* Add object to slot information data if necessasy. */
+ /* Add object to slot information data if necessary. */
if (l->l_tls_blocksize != 0 && __rtld_tls_init_tp_called)
_dl_add_to_slotinfo (l, true);
}
__always_fail_morecore = true;
#endif
- /* Enable THP if DEFAULT_THP_PAGESIZE is non-zero. Avoid quering the THP
+ /* Enable THP if DEFAULT_THP_PAGESIZE is non-zero. Avoid querying the THP
page size or mode since accessing /sys/kernel/mm is relatively slow and
might not be accessible in containers. */
if (DEFAULT_THP_PAGESIZE > 0)
#define ip1 x17
#define lr x30
-/* RELA relocatons are 3 pointers */
+/* RELA relocations are 3 pointers */
#define RELA_SIZE 24
.text
subs cntrem, cntin, tmp
b.lo L(nomatch)
- /* Make sure that it won't overread by a 16-byte chunk */
+ /* Make sure that it won't over-read by a 16-byte chunk */
tbz cntrem, 4, L(loop32_2)
sub src, src, 16
.p2align 4
subs cntrem, src, srcin
b.ls L(nomatch)
- /* Make sure that it won't overread by a 16-byte chunk */
+ /* Make sure that it won't over-read by a 16-byte chunk */
sub cntrem, cntrem, 1
tbz cntrem, 4, L(loop32_2)
add src, src, 16
subs cntrem, cntin, tmp
b.lo L(nomatch)
- /* Make sure that it won't overread by a 16-byte chunk */
+ /* Make sure that it won't over-read by a 16-byte chunk */
tbz cntrem, 4, L(loop32_2)
sub src, src, 16
.p2align 5