Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/ld.elf_so fix the ldd build
details: https://anonhg.NetBSD.org/src/rev/5b16cac6049c
branches: trunk
changeset: 373014:5b16cac6049c
user: christos <christos%NetBSD.org@localhost>
date: Thu Jan 12 19:17:11 2023 +0000
description:
fix the ldd build
diffstat:
libexec/ld.elf_so/map_object.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r a0411235a4f5 -r 5b16cac6049c libexec/ld.elf_so/map_object.c
--- a/libexec/ld.elf_so/map_object.c Thu Jan 12 18:52:47 2023 +0000
+++ b/libexec/ld.elf_so/map_object.c Thu Jan 12 19:17:11 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: map_object.c,v 1.64 2023/01/12 18:52:47 christos Exp $ */
+/* $NetBSD: map_object.c,v 1.65 2023/01/12 19:17:11 christos Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: map_object.c,v 1.64 2023/01/12 18:52:47 christos Exp $");
+__RCSID("$NetBSD: map_object.c,v 1.65 2023/01/12 19:17:11 christos Exp $");
#endif /* not lint */
#include <errno.h>
@@ -95,13 +95,13 @@
Elf_Addr tls_vaddr = 0; /* Noise GCC */
#endif
Elf_Addr phdr_vaddr;
- size_t phdr_memsz;
+ size_t phdr_memsz, phsize;
int i;
#ifdef RTLD_LOADER
Elf_Addr clear_vaddr;
caddr_t clear_page;
caddr_t clear_addr;
- size_t nclear, phsize;
+ size_t nclear;
#endif
#ifdef GNU_RELRO
Elf_Addr relro_page;
Home |
Main Index |
Thread Index |
Old Index