I bet setting search-directory for ld.so is useless in any kernel.
This commit is contained in:
parent
b4ea321c71
commit
220951d1d4
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -3,7 +3,6 @@ OUTPUT_FORMAT("elf64-powerpc", "elf64-powerpc",
|
|||
"elf64-powerpc")
|
||||
OUTPUT_ARCH(powerpc:common64)
|
||||
ENTRY(_start)
|
||||
SEARCH_DIR(/lib);
|
||||
SECTIONS
|
||||
{
|
||||
/* Read-only sections, merged into text segment. Assumes the
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
OUTPUT_FORMAT("elf64-littleriscv")
|
||||
OUTPUT_ARCH(riscv)
|
||||
ENTRY(_start)
|
||||
SEARCH_DIR("/lib");
|
||||
SECTIONS
|
||||
{
|
||||
/* Read-only sections, merged into text segment: */
|
||||
|
|
|
@ -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 @@ OUTPUT_FORMAT("elf32-sparc", "elf32-sparc",
|
|||
"elf32-sparc")
|
||||
OUTPUT_ARCH(sparc)
|
||||
ENTRY(_start)
|
||||
SEARCH_DIR(/usr/lib);
|
||||
/* Do we need any of these for elf?
|
||||
__DYNAMIC = 0; */
|
||||
SECTIONS
|
||||
|
|
|
@ -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 @@ OUTPUT_FORMAT("elf64-sparc", "elf64-sparc",
|
|||
"elf64-sparc")
|
||||
OUTPUT_ARCH(sparc:v9)
|
||||
ENTRY(_start)
|
||||
SEARCH_DIR(/usr/lib);
|
||||
/* Do we need any of these for elf?
|
||||
__DYNAMIC = 0; */
|
||||
SECTIONS
|
||||
|
|
|
@ -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 @@ OUTPUT_FORMAT("elf32-sparc", "elf32-sparc",
|
|||
"elf32-sparc")
|
||||
OUTPUT_ARCH(sparc)
|
||||
ENTRY(_start)
|
||||
SEARCH_DIR(/usr/lib);
|
||||
/* Do we need any of these for elf?
|
||||
__DYNAMIC = 0; */
|
||||
SECTIONS
|
||||
|
|
Loading…
Reference in New Issue