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 comment out a function that is only used i...
details: https://anonhg.NetBSD.org/src/rev/a77b35f7c0ec
branches: trunk
changeset: 372905:a77b35f7c0ec
user: christos <christos%NetBSD.org@localhost>
date: Wed Jan 04 01:37:24 2023 +0000
description:
comment out a function that is only used in rtld
diffstat:
libexec/ld.elf_so/headers.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r bcf8e96de52f -r a77b35f7c0ec libexec/ld.elf_so/headers.c
--- a/libexec/ld.elf_so/headers.c Wed Jan 04 01:37:00 2023 +0000
+++ b/libexec/ld.elf_so/headers.c Wed Jan 04 01:37:24 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: headers.c,v 1.70 2021/12/04 14:39:08 skrll Exp $ */
+/* $NetBSD: headers.c,v 1.71 2023/01/04 01:37:24 christos Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: headers.c,v 1.70 2021/12/04 14:39:08 skrll Exp $");
+__RCSID("$NetBSD: headers.c,v 1.71 2023/01/04 01:37:24 christos Exp $");
#endif /* not lint */
#include <err.h>
@@ -459,6 +459,7 @@
}
}
+#ifdef RTLD_LOADER
/*
* Process a shared object's program header. This is used only for the
* main program, when the kernel has already loaded the main program
@@ -562,3 +563,4 @@
obj->entry = entry;
return obj;
}
+#endif
Home |
Main Index |
Thread Index |
Old Index