Module Name: src Committed By: rin Date: Wed Aug 23 12:24:59 UTC 2023
Modified Files: src/lib/libexecinfo: execinfo.h symtab.c unwind_arm_ehabi_stub.c Log Message: libexecinfo: whitespace, missing RCSID, no binary changes To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libexecinfo/execinfo.h cvs rdiff -u -r1.9 -r1.10 src/lib/libexecinfo/symtab.c cvs rdiff -u -r1.2 -r1.3 src/lib/libexecinfo/unwind_arm_ehabi_stub.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libexecinfo/execinfo.h diff -u src/lib/libexecinfo/execinfo.h:1.3 src/lib/libexecinfo/execinfo.h:1.4 --- src/lib/libexecinfo/execinfo.h:1.3 Fri Jun 30 21:39:43 2017 +++ src/lib/libexecinfo/execinfo.h Wed Aug 23 12:24:59 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: execinfo.h,v 1.3 2017/06/30 21:39:43 christos Exp $ */ +/* $NetBSD: execinfo.h,v 1.4 2023/08/23 12:24:59 rin Exp $ */ /*- * Copyright (c) 2012 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ #include <sys/cdefs.h> #include <sys/featuretest.h> #include <sys/ansi.h> - + #ifdef _BSD_SIZE_T_ typedef _BSD_SIZE_T_ size_t; #undef _BSD_SIZE_T_ Index: src/lib/libexecinfo/symtab.c diff -u src/lib/libexecinfo/symtab.c:1.9 src/lib/libexecinfo/symtab.c:1.10 --- src/lib/libexecinfo/symtab.c:1.9 Sat Jun 25 06:51:37 2022 +++ src/lib/libexecinfo/symtab.c Wed Aug 23 12:24:59 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: symtab.c,v 1.9 2022/06/25 06:51:37 skrll Exp $ */ +/* $NetBSD: symtab.c,v 1.10 2023/08/23 12:24:59 rin Exp $ */ /*- * Copyright (c) 2012 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include <sys/cdefs.h> -__RCSID("$NetBSD: symtab.c,v 1.9 2022/06/25 06:51:37 skrll Exp $"); +__RCSID("$NetBSD: symtab.c,v 1.10 2023/08/23 12:24:59 rin Exp $"); #include <stdlib.h> #include <stdio.h> @@ -141,7 +141,7 @@ symtab_create(int fd, int bind, int type for (size_t i = 0; i < ns; i++) { GElf_Sym sym; - gelf_getsym(edata, (int)i, &sym); + gelf_getsym(edata, (int)i, &sym); DPRINTF("%s@%#jx=%d,%d", elf_strptr(elf, shdr.sh_link, sym.st_name), @@ -165,7 +165,7 @@ symtab_create(int fd, int bind, int type goto out; } s++; - } + } st->nsymbols = s - st->symbols; if (st->nsymbols == 0) { warnx("No symbols found"); @@ -196,9 +196,9 @@ symtab_find(const symtab_t *st, const vo uintptr_t sa = SYMBOL_CANONICALIZE(dli->dli_saddr); uintptr_t ad = sa - fbase; - DPRINTF("[fbase=%#jx, saddr=%p, sa=%#jx, me=%#jx ad=%#jx]", + DPRINTF("[fbase=%#jx, saddr=%p, sa=%#jx, me=%#jx ad=%#jx]", (uintmax_t)fbase, dli->dli_saddr, (uintmax_t)sa, - (uintmax_t)me, (uintmax_t)ad); + (uintmax_t)me, (uintmax_t)ad); for (;;) { if (s[mid].st_value < me) Index: src/lib/libexecinfo/unwind_arm_ehabi_stub.c diff -u src/lib/libexecinfo/unwind_arm_ehabi_stub.c:1.2 src/lib/libexecinfo/unwind_arm_ehabi_stub.c:1.3 --- src/lib/libexecinfo/unwind_arm_ehabi_stub.c:1.2 Tue May 6 16:02:10 2014 +++ src/lib/libexecinfo/unwind_arm_ehabi_stub.c Wed Aug 23 12:24:59 2023 @@ -1,3 +1,5 @@ +/* $NetBSD: unwind_arm_ehabi_stub.c,v 1.3 2023/08/23 12:24:59 rin Exp $ */ + /*- * Copyright (c) 2013 The NetBSD Foundation, Inc. * All rights reserved.