Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/libexec/ld.elf_so Whitespace
details: https://anonhg.NetBSD.org/src/rev/45955e5c4bdd
branches: trunk
changeset: 944458:45955e5c4bdd
user: roy <roy%NetBSD.org@localhost>
date: Tue Sep 29 16:35:42 2020 +0000
description:
Whitespace
diffstat:
tests/libexec/ld.elf_so/t_rtld_r_debug.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (35 lines):
diff -r ff920443bbfa -r 45955e5c4bdd tests/libexec/ld.elf_so/t_rtld_r_debug.c
--- a/tests/libexec/ld.elf_so/t_rtld_r_debug.c Tue Sep 29 16:34:07 2020 +0000
+++ b/tests/libexec/ld.elf_so/t_rtld_r_debug.c Tue Sep 29 16:35:42 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_rtld_r_debug.c,v 1.2 2020/09/29 16:34:07 roy Exp $ */
+/* $NetBSD: t_rtld_r_debug.c,v 1.3 2020/09/29 16:35:42 roy Exp $ */
/*
* Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
const AuxInfo *aux;
for (aux = _dlauxinfo(); aux->a_type != AT_NULL; ++aux) {
- if (type == aux->a_type)
+ if (type == aux->a_type)
return aux->a_v;
}
@@ -67,11 +67,11 @@
dynphdr = NULL;
for (; phdr < phlimit; ++phdr) {
- if (phdr->p_type == PT_DYNAMIC)
- dynphdr = phdr;
- if (phdr->p_type == PT_PHDR)
- relocbase = (uintptr_t)phdr - phdr->p_vaddr;
- }
+ if (phdr->p_type == PT_DYNAMIC)
+ dynphdr = phdr;
+ if (phdr->p_type == PT_PHDR)
+ relocbase = (uintptr_t)phdr - phdr->p_vaddr;
+ }
return (Elf_Dyn *)((uint8_t *)dynphdr->p_vaddr + relocbase);
}
Home |
Main Index |
Thread Index |
Old Index