Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch I bet setting search-directory for ld.so is useless...
details: https://anonhg.NetBSD.org/src/rev/3e43163747d5
branches: trunk
changeset: 340048:3e43163747d5
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Fri Aug 21 02:35:52 2015 +0000
description:
I bet setting search-directory for ld.so is useless in any kernel.
diffstat:
sys/arch/ia64/conf/kern.ldscript | 1 -
sys/arch/mips/conf/kern.ldscript | 3 +--
sys/arch/powerpc/conf/kern-mb.ldscript | 3 +--
sys/arch/powerpc/conf/kern.ldscript | 3 +--
sys/arch/powerpc/conf/kern64.ldscript | 1 -
sys/arch/riscv/conf/kern.ldscript | 1 -
sys/arch/sparc/conf/kern.ldscript | 3 +--
sys/arch/sparc64/conf/kern.ldscript | 3 +--
sys/arch/sparc64/conf/kern32.ldscript | 3 +--
9 files changed, 6 insertions(+), 15 deletions(-)
diffs (128 lines):
diff -r 404ef430038b -r 3e43163747d5 sys/arch/ia64/conf/kern.ldscript
--- a/sys/arch/ia64/conf/kern.ldscript Fri Aug 21 02:32:24 2015 +0000
+++ b/sys/arch/ia64/conf/kern.ldscript Fri Aug 21 02:35:52 2015 +0000
@@ -2,7 +2,6 @@
OUTPUT_FORMAT("elf64-ia64-little", "elf64-ia64-little", "elf64-ia64-little")
OUTPUT_ARCH(ia64)
ENTRY(start)
-SEARCH_DIR(/usr/lib);
kernel_text = 0xe000000004000000;
SECTIONS
{
diff -r 404ef430038b -r 3e43163747d5 sys/arch/mips/conf/kern.ldscript
--- a/sys/arch/mips/conf/kern.ldscript Fri Aug 21 02:32:24 2015 +0000
+++ b/sys/arch/mips/conf/kern.ldscript Fri Aug 21 02:35:52 2015 +0000
@@ -1,9 +1,8 @@
-/* $NetBSD: kern.ldscript,v 1.8 2015/08/20 07:00:49 uebayasi Exp $ */
+/* $NetBSD: kern.ldscript,v 1.9 2015/08/21 02:35:52 uebayasi Exp $ */
/* ldscript for NetBSD/mips kernels and LKMs */
OUTPUT_ARCH(mips)
ENTRY(_start)
-SEARCH_DIR(/lib);
/* Do we need any of these?
__DYNAMIC = 0; */
_DYNAMIC_LINK = 0;
diff -r 404ef430038b -r 3e43163747d5 sys/arch/powerpc/conf/kern-mb.ldscript
--- a/sys/arch/powerpc/conf/kern-mb.ldscript Fri Aug 21 02:32:24 2015 +0000
+++ b/sys/arch/powerpc/conf/kern-mb.ldscript Fri Aug 21 02:35:52 2015 +0000
@@ -1,9 +1,8 @@
-/* $NetBSD: kern-mb.ldscript,v 1.2 2015/08/20 07:00:49 uebayasi Exp $ */
+/* $NetBSD: kern-mb.ldscript,v 1.3 2015/08/21 02:35:52 uebayasi Exp $ */
/* ldscript for NetBSD/powerpc kernels and LKMs */
OUTPUT_ARCH(powerpc)
ENTRY(_start)
-SEARCH_DIR(/lib);
/* Do we need any of these?
__DYNAMIC = 0; */
_DYNAMIC_LINK = 0;
diff -r 404ef430038b -r 3e43163747d5 sys/arch/powerpc/conf/kern.ldscript
--- a/sys/arch/powerpc/conf/kern.ldscript Fri Aug 21 02:32:24 2015 +0000
+++ b/sys/arch/powerpc/conf/kern.ldscript Fri Aug 21 02:35:52 2015 +0000
@@ -1,11 +1,10 @@
-/* $NetBSD: kern.ldscript,v 1.7 2015/08/20 07:00:49 uebayasi Exp $ */
+/* $NetBSD: kern.ldscript,v 1.8 2015/08/21 02:35:52 uebayasi Exp $ */
/* ldscript for NetBSD/powerpc kernels and LKMs, based on elf32ppc.x */
OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
"elf32-powerpc")
OUTPUT_ARCH(powerpc:common)
ENTRY(_start)
-SEARCH_DIR(/lib);
/* Do we need any of these?
__DYNAMIC = 0; */
_DYNAMIC_LINK = 0;
diff -r 404ef430038b -r 3e43163747d5 sys/arch/powerpc/conf/kern64.ldscript
--- a/sys/arch/powerpc/conf/kern64.ldscript Fri Aug 21 02:32:24 2015 +0000
+++ b/sys/arch/powerpc/conf/kern64.ldscript Fri Aug 21 02:35:52 2015 +0000
@@ -3,7 +3,6 @@
"elf64-powerpc")
OUTPUT_ARCH(powerpc:common64)
ENTRY(_start)
-SEARCH_DIR(/lib);
SECTIONS
{
/* Read-only sections, merged into text segment. Assumes the
diff -r 404ef430038b -r 3e43163747d5 sys/arch/riscv/conf/kern.ldscript
--- a/sys/arch/riscv/conf/kern.ldscript Fri Aug 21 02:32:24 2015 +0000
+++ b/sys/arch/riscv/conf/kern.ldscript Fri Aug 21 02:35:52 2015 +0000
@@ -2,7 +2,6 @@
OUTPUT_FORMAT("elf64-littleriscv")
OUTPUT_ARCH(riscv)
ENTRY(_start)
-SEARCH_DIR("/lib");
SECTIONS
{
/* Read-only sections, merged into text segment: */
diff -r 404ef430038b -r 3e43163747d5 sys/arch/sparc/conf/kern.ldscript
--- a/sys/arch/sparc/conf/kern.ldscript Fri Aug 21 02:32:24 2015 +0000
+++ b/sys/arch/sparc/conf/kern.ldscript Fri Aug 21 02:35:52 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern.ldscript,v 1.6 2015/08/20 07:00:49 uebayasi Exp $ */
+/* $NetBSD: kern.ldscript,v 1.7 2015/08/21 02:35:52 uebayasi Exp $ */
/*
* Kernel linker script for NetBSD/sparc. This script is based on
@@ -9,7 +9,6 @@
"elf32-sparc")
OUTPUT_ARCH(sparc)
ENTRY(_start)
-SEARCH_DIR(/usr/lib);
/* Do we need any of these for elf?
__DYNAMIC = 0; */
SECTIONS
diff -r 404ef430038b -r 3e43163747d5 sys/arch/sparc64/conf/kern.ldscript
--- a/sys/arch/sparc64/conf/kern.ldscript Fri Aug 21 02:32:24 2015 +0000
+++ b/sys/arch/sparc64/conf/kern.ldscript Fri Aug 21 02:35:52 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern.ldscript,v 1.12 2015/08/20 07:00:49 uebayasi Exp $ */
+/* $NetBSD: kern.ldscript,v 1.13 2015/08/21 02:35:52 uebayasi Exp $ */
/*
* Kernel linker script for NetBSD/sparc64. This script is based on
@@ -8,7 +8,6 @@
"elf64-sparc")
OUTPUT_ARCH(sparc:v9)
ENTRY(_start)
-SEARCH_DIR(/usr/lib);
/* Do we need any of these for elf?
__DYNAMIC = 0; */
SECTIONS
diff -r 404ef430038b -r 3e43163747d5 sys/arch/sparc64/conf/kern32.ldscript
--- a/sys/arch/sparc64/conf/kern32.ldscript Fri Aug 21 02:32:24 2015 +0000
+++ b/sys/arch/sparc64/conf/kern32.ldscript Fri Aug 21 02:35:52 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern32.ldscript,v 1.11 2015/08/20 07:00:49 uebayasi Exp $ */
+/* $NetBSD: kern32.ldscript,v 1.12 2015/08/21 02:35:52 uebayasi Exp $ */
/*
* Kernel linker script for NetBSD/sparc. This script is based on
@@ -9,7 +9,6 @@
"elf32-sparc")
OUTPUT_ARCH(sparc)
ENTRY(_start)
-SEARCH_DIR(/usr/lib);
/* Do we need any of these for elf?
__DYNAMIC = 0; */
SECTIONS
Home |
Main Index |
Thread Index |
Old Index