Indent with 2 spaces.
This commit is contained in:
parent
3aa2707a88
commit
185745d477
|
@ -55,15 +55,15 @@ SECTIONS
|
|||
__bss_start__ = .;
|
||||
.bss :
|
||||
{
|
||||
*(.dynbss)
|
||||
*(.bss .bss.* .gnu.linkonce.b.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections.
|
||||
FIXME: Why do we need it? When there is no .bss section, we don't
|
||||
pad the .data section. */
|
||||
. = ALIGN(. != 0 ? 32 / 8 : 1);
|
||||
*(.dynbss)
|
||||
*(.bss .bss.* .gnu.linkonce.b.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections.
|
||||
FIXME: Why do we need it? When there is no .bss section, we don't
|
||||
pad the .data section. */
|
||||
. = ALIGN(. != 0 ? 32 / 8 : 1);
|
||||
}
|
||||
_bss_end__ = . ; __bss_end__ = . ;
|
||||
. = ALIGN(32 / 8);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kern.ldscript.2MB,v 1.6 2015/08/20 06:48:25 uebayasi Exp $ */
|
||||
/* $NetBSD: kern.ldscript.2MB,v 1.7 2015/08/20 07:00:48 uebayasi Exp $ */
|
||||
|
||||
OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64",
|
||||
"elf64-x86-64")
|
||||
|
@ -6,59 +6,59 @@ OUTPUT_ARCH(i386:x86-64)
|
|||
ENTRY(_start)
|
||||
SECTIONS
|
||||
{
|
||||
/* Read-only sections, merged into text segment: */
|
||||
.text :
|
||||
AT (ADDR(.text))
|
||||
{
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
*(.stub)
|
||||
} =0
|
||||
_etext = . ;
|
||||
PROVIDE (etext = .) ;
|
||||
/* Read-only sections, merged into text segment: */
|
||||
.text :
|
||||
AT (ADDR(.text))
|
||||
{
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
*(.stub)
|
||||
} =0
|
||||
_etext = . ;
|
||||
PROVIDE (etext = .) ;
|
||||
|
||||
.rodata :
|
||||
AT (LOADADDR(.text) + (ADDR(.rodata) - ADDR(.text)))
|
||||
{
|
||||
*(.rodata)
|
||||
*(.rodata.*)
|
||||
}
|
||||
.rodata :
|
||||
AT (LOADADDR(.text) + (ADDR(.rodata) - ADDR(.text)))
|
||||
{
|
||||
*(.rodata)
|
||||
*(.rodata.*)
|
||||
}
|
||||
|
||||
/* Adjust the address for the data segment. We push the data segment
|
||||
up to the next 2MB boundary so that we can map the text with large
|
||||
pages. */
|
||||
. = ALIGN(0x200000);
|
||||
__data_start = . ;
|
||||
.data :
|
||||
AT (LOADADDR(.text) + (ADDR(.data) - ADDR(.text)))
|
||||
{
|
||||
*(.data)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
.data.cacheline_aligned :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.cacheline_aligned) - ADDR(.text)))
|
||||
{
|
||||
*(.data.cacheline_aligned)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
.data.read_mostly :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.read_mostly) - ADDR(.text)))
|
||||
{
|
||||
*(.data.read_mostly)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
_edata = . ;
|
||||
PROVIDE (edata = .) ;
|
||||
__bss_start = . ;
|
||||
.bss :
|
||||
AT (LOADADDR(.text) + (ADDR(.bss) - ADDR(.text)))
|
||||
{
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
. = ALIGN(64 / 8);
|
||||
}
|
||||
. = ALIGN(64 / 8);
|
||||
/* Adjust the address for the data segment. We push the data segment
|
||||
up to the next 2MB boundary so that we can map the text with large
|
||||
pages. */
|
||||
. = ALIGN(0x200000);
|
||||
__data_start = . ;
|
||||
.data :
|
||||
AT (LOADADDR(.text) + (ADDR(.data) - ADDR(.text)))
|
||||
{
|
||||
*(.data)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
.data.cacheline_aligned :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.cacheline_aligned) - ADDR(.text)))
|
||||
{
|
||||
*(.data.cacheline_aligned)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
.data.read_mostly :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.read_mostly) - ADDR(.text)))
|
||||
{
|
||||
*(.data.read_mostly)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
_edata = . ;
|
||||
PROVIDE (edata = .) ;
|
||||
__bss_start = . ;
|
||||
.bss :
|
||||
AT (LOADADDR(.text) + (ADDR(.bss) - ADDR(.text)))
|
||||
{
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
. = ALIGN(64 / 8);
|
||||
}
|
||||
. = ALIGN(64 / 8);
|
||||
_end = . ;
|
||||
PROVIDE (end = .) ;
|
||||
.note.netbsd.ident :
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kern.ldscript.Xen,v 1.5 2014/11/02 17:58:14 uebayasi Exp $ */
|
||||
/* $NetBSD: kern.ldscript.Xen,v 1.6 2015/08/20 07:00:48 uebayasi Exp $ */
|
||||
|
||||
OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64",
|
||||
"elf64-x86-64")
|
||||
|
@ -6,52 +6,52 @@ OUTPUT_ARCH(i386:x86-64)
|
|||
ENTRY(_start)
|
||||
SECTIONS
|
||||
{
|
||||
/* Read-only sections, merged into text segment: */
|
||||
.text :
|
||||
AT (ADDR(.text))
|
||||
{
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
*(.stub)
|
||||
*(.rodata)
|
||||
} =0
|
||||
_etext = . ;
|
||||
PROVIDE (etext = .) ;
|
||||
/* Read-only sections, merged into text segment: */
|
||||
.text :
|
||||
AT (ADDR(.text))
|
||||
{
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
*(.stub)
|
||||
*(.rodata)
|
||||
} =0
|
||||
_etext = . ;
|
||||
PROVIDE (etext = .) ;
|
||||
|
||||
/* Adjust the address for the data segment. We want to adjust up to
|
||||
the same address within the page on the next page up. */
|
||||
. = ALIGN(0x100000) + (. & (0x100000 - 1));
|
||||
__data_start = . ;
|
||||
.data :
|
||||
AT (LOADADDR(.text) + (ADDR(.data) - ADDR(.text)))
|
||||
{
|
||||
*(.data)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
.data.cacheline_aligned :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.cacheline_aligned) - ADDR(.text)))
|
||||
{
|
||||
*(.data.cacheline_aligned)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
.data.read_mostly :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.read_mostly) - ADDR(.text)))
|
||||
{
|
||||
*(.data.read_mostly)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
_edata = . ;
|
||||
PROVIDE (edata = .) ;
|
||||
__bss_start = . ;
|
||||
.bss :
|
||||
AT (LOADADDR(.text) + (ADDR(.bss) - ADDR(.text)))
|
||||
{
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
. = ALIGN(64 / 8);
|
||||
}
|
||||
. = ALIGN(64 / 8);
|
||||
/* Adjust the address for the data segment. We want to adjust up to
|
||||
the same address within the page on the next page up. */
|
||||
. = ALIGN(0x100000) + (. & (0x100000 - 1));
|
||||
__data_start = . ;
|
||||
.data :
|
||||
AT (LOADADDR(.text) + (ADDR(.data) - ADDR(.text)))
|
||||
{
|
||||
*(.data)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
.data.cacheline_aligned :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.cacheline_aligned) - ADDR(.text)))
|
||||
{
|
||||
*(.data.cacheline_aligned)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
.data.read_mostly :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.read_mostly) - ADDR(.text)))
|
||||
{
|
||||
*(.data.read_mostly)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
_edata = . ;
|
||||
PROVIDE (edata = .) ;
|
||||
__bss_start = . ;
|
||||
.bss :
|
||||
AT (LOADADDR(.text) + (ADDR(.bss) - ADDR(.text)))
|
||||
{
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
. = ALIGN(64 / 8);
|
||||
}
|
||||
. = ALIGN(64 / 8);
|
||||
_end = . ;
|
||||
PROVIDE (end = .) ;
|
||||
.note.netbsd.ident :
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kern.ldscript,v 1.2 2014/01/30 15:36:43 matt Exp $ */
|
||||
/* $NetBSD: kern.ldscript,v 1.3 2015/08/20 07:00:48 uebayasi Exp $ */
|
||||
|
||||
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
|
||||
"elf32-littlearm")
|
||||
|
@ -38,14 +38,14 @@ SECTIONS
|
|||
__bss_start__ = .;
|
||||
.bss :
|
||||
{
|
||||
*(.dynbss)
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections. */
|
||||
. = ALIGN(32 / 8);
|
||||
*(.dynbss)
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections. */
|
||||
. = ALIGN(32 / 8);
|
||||
}
|
||||
. = ALIGN(32 / 8);
|
||||
_end = .;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ldscript.elf,v 1.3 2015/08/20 06:48:25 uebayasi Exp $ */
|
||||
/* $NetBSD: ldscript.elf,v 1.4 2015/08/20 07:00:48 uebayasi Exp $ */
|
||||
|
||||
OUTPUT_ARCH(arm)
|
||||
ENTRY(KERNEL_BASE_phys)
|
||||
|
@ -59,14 +59,14 @@ SECTIONS
|
|||
}
|
||||
.bss :
|
||||
{
|
||||
*(.dynbss)
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections. */
|
||||
. = ALIGN(32 / 8);
|
||||
*(.dynbss)
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections. */
|
||||
. = ALIGN(32 / 8);
|
||||
}
|
||||
. = ALIGN(32 / 8);
|
||||
_end = .;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ldscript.epoc32,v 1.3 2015/08/20 06:48:25 uebayasi Exp $ */
|
||||
/* $NetBSD: ldscript.epoc32,v 1.4 2015/08/20 07:00:48 uebayasi Exp $ */
|
||||
|
||||
OUTPUT_ARCH(arm)
|
||||
ENTRY(KERNEL_BASE_phys)
|
||||
|
@ -63,14 +63,14 @@ SECTIONS
|
|||
}
|
||||
.bss :
|
||||
{
|
||||
*(.dynbss)
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections. */
|
||||
. = ALIGN(32 / 8);
|
||||
*(.dynbss)
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections. */
|
||||
. = ALIGN(32 / 8);
|
||||
}
|
||||
. = ALIGN(32 / 8);
|
||||
_end = .;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ldscript.evbarm,v 1.8 2014/01/30 15:36:44 matt Exp $ */
|
||||
/* $NetBSD: ldscript.evbarm,v 1.9 2015/08/20 07:00:48 uebayasi Exp $ */
|
||||
|
||||
OUTPUT_ARCH(arm)
|
||||
ENTRY(KERNEL_BASE_phys)
|
||||
|
@ -66,14 +66,14 @@ SECTIONS
|
|||
.bss :
|
||||
AT (LOADADDR(.sbss) + (ADDR(.bss) - ADDR(.sbss)))
|
||||
{
|
||||
*(.dynbss)
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections. */
|
||||
. = ALIGN(32 / 8);
|
||||
*(.dynbss)
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections. */
|
||||
. = ALIGN(32 / 8);
|
||||
}
|
||||
. = ALIGN(32 / 8);
|
||||
_end = .;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kern.ldscript,v 1.11 2014/11/02 17:58:14 uebayasi Exp $ */
|
||||
/* $NetBSD: kern.ldscript,v 1.12 2015/08/20 07:00:48 uebayasi Exp $ */
|
||||
|
||||
OUTPUT_FORMAT("elf32-i386", "elf32-i386",
|
||||
"elf32-i386")
|
||||
|
@ -6,58 +6,58 @@ OUTPUT_ARCH(i386)
|
|||
ENTRY(_start)
|
||||
SECTIONS
|
||||
{
|
||||
/* Read-only sections, merged into text segment: */
|
||||
.text :
|
||||
AT (ADDR(.text) & 0x0fffffff)
|
||||
{
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
*(.stub)
|
||||
} =0
|
||||
_etext = . ;
|
||||
PROVIDE (etext = .) ;
|
||||
/* Read-only sections, merged into text segment: */
|
||||
.text :
|
||||
AT (ADDR(.text) & 0x0fffffff)
|
||||
{
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
*(.stub)
|
||||
} =0
|
||||
_etext = . ;
|
||||
PROVIDE (etext = .) ;
|
||||
|
||||
.rodata :
|
||||
AT (LOADADDR(.text) + (ADDR(.rodata) - ADDR(.text)))
|
||||
{
|
||||
*(.rodata)
|
||||
*(.rodata.*)
|
||||
}
|
||||
.rodata :
|
||||
AT (LOADADDR(.text) + (ADDR(.rodata) - ADDR(.text)))
|
||||
{
|
||||
*(.rodata)
|
||||
*(.rodata.*)
|
||||
}
|
||||
|
||||
/* Adjust the address for the data segment. We want to adjust up to
|
||||
the same address within the page on the next page up. */
|
||||
. = ALIGN(0x1000) + (. & (0x1000 - 1));
|
||||
__data_start = . ;
|
||||
.data :
|
||||
AT (LOADADDR(.text) + (ADDR(.data) - ADDR(.text)))
|
||||
{
|
||||
*(.data)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
.data.cacheline_aligned :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.cacheline_aligned) - ADDR(.text)))
|
||||
{
|
||||
*(.data.cacheline_aligned)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
.data.read_mostly :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.read_mostly) - ADDR(.text)))
|
||||
{
|
||||
*(.data.read_mostly)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
_edata = . ;
|
||||
PROVIDE (edata = .) ;
|
||||
__bss_start = . ;
|
||||
.bss :
|
||||
AT (LOADADDR(.text) + (ADDR(.bss) - ADDR(.text)))
|
||||
{
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
. = ALIGN(32 / 8);
|
||||
}
|
||||
. = ALIGN(32 / 8);
|
||||
/* Adjust the address for the data segment. We want to adjust up to
|
||||
the same address within the page on the next page up. */
|
||||
. = ALIGN(0x1000) + (. & (0x1000 - 1));
|
||||
__data_start = . ;
|
||||
.data :
|
||||
AT (LOADADDR(.text) + (ADDR(.data) - ADDR(.text)))
|
||||
{
|
||||
*(.data)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
.data.cacheline_aligned :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.cacheline_aligned) - ADDR(.text)))
|
||||
{
|
||||
*(.data.cacheline_aligned)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
.data.read_mostly :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.read_mostly) - ADDR(.text)))
|
||||
{
|
||||
*(.data.read_mostly)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
_edata = . ;
|
||||
PROVIDE (edata = .) ;
|
||||
__bss_start = . ;
|
||||
.bss :
|
||||
AT (LOADADDR(.text) + (ADDR(.bss) - ADDR(.text)))
|
||||
{
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
. = ALIGN(32 / 8);
|
||||
}
|
||||
. = ALIGN(32 / 8);
|
||||
_end = . ;
|
||||
PROVIDE (end = .) ;
|
||||
.note.netbsd.ident :
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kern.ldscript.4MB,v 1.12 2014/11/02 17:58:14 uebayasi Exp $ */
|
||||
/* $NetBSD: kern.ldscript.4MB,v 1.13 2015/08/20 07:00:48 uebayasi Exp $ */
|
||||
|
||||
OUTPUT_FORMAT("elf32-i386", "elf32-i386",
|
||||
"elf32-i386")
|
||||
|
@ -6,59 +6,59 @@ OUTPUT_ARCH(i386)
|
|||
ENTRY(_start)
|
||||
SECTIONS
|
||||
{
|
||||
/* Read-only sections, merged into text segment: */
|
||||
.text :
|
||||
AT (ADDR(.text) & 0x0fffffff)
|
||||
{
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
*(.stub)
|
||||
} =0
|
||||
_etext = . ;
|
||||
PROVIDE (etext = .) ;
|
||||
/* Read-only sections, merged into text segment: */
|
||||
.text :
|
||||
AT (ADDR(.text) & 0x0fffffff)
|
||||
{
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
*(.stub)
|
||||
} =0
|
||||
_etext = . ;
|
||||
PROVIDE (etext = .) ;
|
||||
|
||||
.rodata :
|
||||
AT (LOADADDR(.text) + (ADDR(.rodata) - ADDR(.text)))
|
||||
{
|
||||
*(.rodata)
|
||||
*(.rodata.*)
|
||||
}
|
||||
.rodata :
|
||||
AT (LOADADDR(.text) + (ADDR(.rodata) - ADDR(.text)))
|
||||
{
|
||||
*(.rodata)
|
||||
*(.rodata.*)
|
||||
}
|
||||
|
||||
/* Adjust the address for the data segment. We push the data segment
|
||||
up to the next 4MB boundary so that we can map the text with large
|
||||
pages. */
|
||||
. = ALIGN(0x400000);
|
||||
__data_start = . ;
|
||||
.data :
|
||||
AT (LOADADDR(.text) + (ADDR(.data) - ADDR(.text)))
|
||||
{
|
||||
*(.data)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
.data.cacheline_aligned :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.cacheline_aligned) - ADDR(.text)))
|
||||
{
|
||||
*(.data.cacheline_aligned)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
.data.read_mostly :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.read_mostly) - ADDR(.text)))
|
||||
{
|
||||
*(.data.read_mostly)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
_edata = . ;
|
||||
PROVIDE (edata = .) ;
|
||||
__bss_start = . ;
|
||||
.bss :
|
||||
AT (LOADADDR(.text) + (ADDR(.bss) - ADDR(.text)))
|
||||
{
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
. = ALIGN(32 / 8);
|
||||
}
|
||||
. = ALIGN(32 / 8);
|
||||
/* Adjust the address for the data segment. We push the data segment
|
||||
up to the next 4MB boundary so that we can map the text with large
|
||||
pages. */
|
||||
. = ALIGN(0x400000);
|
||||
__data_start = . ;
|
||||
.data :
|
||||
AT (LOADADDR(.text) + (ADDR(.data) - ADDR(.text)))
|
||||
{
|
||||
*(.data)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
.data.cacheline_aligned :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.cacheline_aligned) - ADDR(.text)))
|
||||
{
|
||||
*(.data.cacheline_aligned)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
.data.read_mostly :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.read_mostly) - ADDR(.text)))
|
||||
{
|
||||
*(.data.read_mostly)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
_edata = . ;
|
||||
PROVIDE (edata = .) ;
|
||||
__bss_start = . ;
|
||||
.bss :
|
||||
AT (LOADADDR(.text) + (ADDR(.bss) - ADDR(.text)))
|
||||
{
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
. = ALIGN(32 / 8);
|
||||
}
|
||||
. = ALIGN(32 / 8);
|
||||
_end = . ;
|
||||
PROVIDE (end = .) ;
|
||||
.note.netbsd.ident :
|
||||
|
|
|
@ -1,58 +1,58 @@
|
|||
/* $NetBSD: kern.ldscript.Xen,v 1.6 2014/11/02 17:58:14 uebayasi Exp $ */
|
||||
/* $NetBSD: kern.ldscript.Xen,v 1.7 2015/08/20 07:00:48 uebayasi Exp $ */
|
||||
|
||||
OUTPUT_FORMAT("elf32-i386", "elf32-i386",
|
||||
"elf32-i386")
|
||||
OUTPUT_ARCH(i386)
|
||||
SECTIONS
|
||||
{
|
||||
/* Read-only sections, merged into text segment: */
|
||||
.text :
|
||||
{
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
*(.stub)
|
||||
} =0
|
||||
_etext = . ;
|
||||
PROVIDE (etext = .) ;
|
||||
/* Read-only sections, merged into text segment: */
|
||||
.text :
|
||||
{
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
*(.stub)
|
||||
} =0
|
||||
_etext = . ;
|
||||
PROVIDE (etext = .) ;
|
||||
|
||||
.rodata :
|
||||
{
|
||||
*(.rodata)
|
||||
*(.rodata.*)
|
||||
}
|
||||
.rodata :
|
||||
{
|
||||
*(.rodata)
|
||||
*(.rodata.*)
|
||||
}
|
||||
|
||||
/* Adjust the address for the data segment. We want to adjust up to
|
||||
the same address within the page on the next page up. */
|
||||
. = ALIGN(0x1000) + (. & (0x1000 - 1));
|
||||
__data_start = . ;
|
||||
.data :
|
||||
{
|
||||
*(.data)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
.data.cacheline_aligned :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.cacheline_aligned) - ADDR(.text)))
|
||||
{
|
||||
*(.data.cacheline_aligned)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
.data.read_mostly :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.read_mostly) - ADDR(.text)))
|
||||
{
|
||||
*(.data.read_mostly)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
_edata = . ;
|
||||
PROVIDE (edata = .) ;
|
||||
__bss_start = . ;
|
||||
.bss :
|
||||
{
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
. = ALIGN(32 / 8);
|
||||
}
|
||||
. = ALIGN(32 / 8);
|
||||
/* Adjust the address for the data segment. We want to adjust up to
|
||||
the same address within the page on the next page up. */
|
||||
. = ALIGN(0x1000) + (. & (0x1000 - 1));
|
||||
__data_start = . ;
|
||||
.data :
|
||||
{
|
||||
*(.data)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
.data.cacheline_aligned :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.cacheline_aligned) - ADDR(.text)))
|
||||
{
|
||||
*(.data.cacheline_aligned)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
.data.read_mostly :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.read_mostly) - ADDR(.text)))
|
||||
{
|
||||
*(.data.read_mostly)
|
||||
}
|
||||
. = ALIGN(64); /* COHERENCY_UNIT */
|
||||
_edata = . ;
|
||||
PROVIDE (edata = .) ;
|
||||
__bss_start = . ;
|
||||
.bss :
|
||||
{
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
. = ALIGN(32 / 8);
|
||||
}
|
||||
. = ALIGN(32 / 8);
|
||||
_end = . ;
|
||||
PROVIDE (end = .) ;
|
||||
.note.netbsd.ident :
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: stand.ldscript,v 1.1 2013/11/01 00:19:04 christos Exp $ */
|
||||
/* $NetBSD: stand.ldscript,v 1.2 2015/08/20 07:00:48 uebayasi Exp $ */
|
||||
|
||||
OUTPUT_FORMAT("elf32-i386", "elf32-i386",
|
||||
"elf32-i386")
|
||||
|
@ -6,52 +6,52 @@ OUTPUT_ARCH(i386)
|
|||
ENTRY(_start)
|
||||
SECTIONS
|
||||
{
|
||||
/* Read-only sections, merged into text segment: */
|
||||
.text :
|
||||
AT (ADDR(.text) & 0x0fffffff)
|
||||
{
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
*(.stub)
|
||||
} =0
|
||||
_etext = . ;
|
||||
PROVIDE (etext = .) ;
|
||||
/* Read-only sections, merged into text segment: */
|
||||
.text :
|
||||
AT (ADDR(.text) & 0x0fffffff)
|
||||
{
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
*(.stub)
|
||||
} =0
|
||||
_etext = . ;
|
||||
PROVIDE (etext = .) ;
|
||||
|
||||
.rodata :
|
||||
AT (LOADADDR(.text) + (ADDR(.rodata) - ADDR(.text)))
|
||||
{
|
||||
*(.rodata)
|
||||
*(.rodata.*)
|
||||
}
|
||||
.rodata :
|
||||
AT (LOADADDR(.text) + (ADDR(.rodata) - ADDR(.text)))
|
||||
{
|
||||
*(.rodata)
|
||||
*(.rodata.*)
|
||||
}
|
||||
|
||||
__data_start = . ;
|
||||
.data :
|
||||
AT (LOADADDR(.text) + (ADDR(.data) - ADDR(.text)))
|
||||
{
|
||||
*(.data)
|
||||
}
|
||||
.data.cacheline_aligned :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.cacheline_aligned) - ADDR(.text)))
|
||||
{
|
||||
*(.data.cacheline_aligned)
|
||||
}
|
||||
.data.read_mostly :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.read_mostly) - ADDR(.text)))
|
||||
{
|
||||
*(.data.read_mostly)
|
||||
}
|
||||
_edata = . ;
|
||||
PROVIDE (edata = .) ;
|
||||
__bss_start = . ;
|
||||
.bss :
|
||||
AT (LOADADDR(.text) + (ADDR(.bss) - ADDR(.text)))
|
||||
{
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
. = ALIGN(32 / 8);
|
||||
}
|
||||
. = ALIGN(32 / 8);
|
||||
__data_start = . ;
|
||||
.data :
|
||||
AT (LOADADDR(.text) + (ADDR(.data) - ADDR(.text)))
|
||||
{
|
||||
*(.data)
|
||||
}
|
||||
.data.cacheline_aligned :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.cacheline_aligned) - ADDR(.text)))
|
||||
{
|
||||
*(.data.cacheline_aligned)
|
||||
}
|
||||
.data.read_mostly :
|
||||
AT (LOADADDR(.text) + (ADDR(.data.read_mostly) - ADDR(.text)))
|
||||
{
|
||||
*(.data.read_mostly)
|
||||
}
|
||||
_edata = . ;
|
||||
PROVIDE (edata = .) ;
|
||||
__bss_start = . ;
|
||||
.bss :
|
||||
AT (LOADADDR(.text) + (ADDR(.bss) - ADDR(.text)))
|
||||
{
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
. = ALIGN(32 / 8);
|
||||
}
|
||||
. = ALIGN(32 / 8);
|
||||
_end = . ;
|
||||
PROVIDE (end = .) ;
|
||||
/DISCARD/ : {
|
||||
|
|
|
@ -101,13 +101,13 @@ SECTIONS
|
|||
}
|
||||
.bss :
|
||||
{
|
||||
*(.dynbss)
|
||||
*(.bss .bss.* .gnu.linkonce.b.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections. */
|
||||
. = ALIGN(64 / 8);
|
||||
*(.dynbss)
|
||||
*(.bss .bss.* .gnu.linkonce.b.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections. */
|
||||
. = ALIGN(64 / 8);
|
||||
}
|
||||
. = ALIGN(64 / 8);
|
||||
_end = .;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kern.ldscript,v 1.7 2011/03/05 15:19:44 matt Exp $ */
|
||||
/* $NetBSD: kern.ldscript,v 1.8 2015/08/20 07:00:49 uebayasi Exp $ */
|
||||
|
||||
/* ldscript for NetBSD/mips kernels and LKMs */
|
||||
OUTPUT_ARCH(mips)
|
||||
|
@ -30,11 +30,11 @@ SECTIONS
|
|||
_fdata = . ;
|
||||
*(.data)
|
||||
CONSTRUCTORS
|
||||
. = ALIGN(32); /* COHERENCY_UNIT */
|
||||
*(.data.cacheline_aligned)
|
||||
. = ALIGN(32); /* COHERENCY_UNIT */
|
||||
*(.data.read_mostly)
|
||||
. = ALIGN(32); /* COHERENCY_UNIT */
|
||||
. = ALIGN(32); /* COHERENCY_UNIT */
|
||||
*(.data.cacheline_aligned)
|
||||
. = ALIGN(32); /* COHERENCY_UNIT */
|
||||
*(.data.read_mostly)
|
||||
. = ALIGN(32); /* COHERENCY_UNIT */
|
||||
}
|
||||
_gp = ALIGN(16) + 0x7ff0;
|
||||
.lit8 : { *(.lit8) }
|
||||
|
@ -47,8 +47,8 @@ SECTIONS
|
|||
.sbss : { *(.sbss) *(.scommon) }
|
||||
.bss :
|
||||
{
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
}
|
||||
_end = . ;
|
||||
PROVIDE (end = .);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: stand.ldscript,v 1.5 2013/10/04 15:02:43 christos Exp $ */
|
||||
/* $NetBSD: stand.ldscript,v 1.6 2015/08/20 07:00:49 uebayasi Exp $ */
|
||||
|
||||
/* ldscript for NetBSD/mips stand-alone programs */
|
||||
OUTPUT_ARCH(mips)
|
||||
|
@ -33,8 +33,8 @@ SECTIONS
|
|||
.sbss : { *(.sbss) *(.scommon) }
|
||||
.bss :
|
||||
{
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
}
|
||||
_end = . ;
|
||||
PROVIDE (end = .);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: stand.ldscript,v 1.4 2005/12/11 12:18:13 christos Exp $ */
|
||||
/* $NetBSD: stand.ldscript,v 1.5 2015/08/20 07:00:49 uebayasi Exp $ */
|
||||
|
||||
/* ldscript for NetBSD/mipsco standalone bootstraps */
|
||||
OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradlittlemips")
|
||||
|
@ -33,10 +33,10 @@ SECTIONS
|
|||
_fbss = .;
|
||||
.bss :
|
||||
{
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
*(.sbss)
|
||||
*(.scommon)
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
*(.sbss)
|
||||
*(.scommon)
|
||||
}
|
||||
_end = . ;
|
||||
PROVIDE (end = .);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kern.ldscript,v 1.5 2015/08/20 06:48:25 uebayasi Exp $ */
|
||||
/* $NetBSD: kern.ldscript,v 1.6 2015/08/20 07:00:49 uebayasi Exp $ */
|
||||
|
||||
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
|
||||
"elf32-littlearm")
|
||||
|
@ -65,14 +65,14 @@ SECTIONS
|
|||
}
|
||||
.bss :
|
||||
{
|
||||
*(.dynbss)
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections. */
|
||||
. = ALIGN(32 / 8);
|
||||
*(.dynbss)
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections. */
|
||||
. = ALIGN(32 / 8);
|
||||
}
|
||||
. = ALIGN(32 / 8);
|
||||
_end = .;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kern-mb.ldscript,v 1.1 2012/03/29 15:42:15 matt Exp $ */
|
||||
/* $NetBSD: kern-mb.ldscript,v 1.2 2015/08/20 07:00:49 uebayasi Exp $ */
|
||||
|
||||
/* ldscript for NetBSD/powerpc kernels and LKMs */
|
||||
OUTPUT_ARCH(powerpc)
|
||||
|
@ -51,8 +51,8 @@ SECTIONS
|
|||
.sbss : { *(.sbss) *(.scommon) }
|
||||
.bss :
|
||||
{
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
}
|
||||
_end = . ;
|
||||
PROVIDE (end = .);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kern.ldscript,v 1.6 2014/01/19 02:32:21 mrg Exp $ */
|
||||
/* $NetBSD: kern.ldscript,v 1.7 2015/08/20 07:00:49 uebayasi Exp $ */
|
||||
|
||||
/* ldscript for NetBSD/powerpc kernels and LKMs, based on elf32ppc.x */
|
||||
OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
|
||||
|
@ -82,15 +82,15 @@ SECTIONS
|
|||
}
|
||||
.bss :
|
||||
{
|
||||
*(.dynbss)
|
||||
*(.bss .bss.* .gnu.linkonce.b.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections.
|
||||
FIXME: Why do we need it? When there is no .bss section, we don't
|
||||
pad the .data section. */
|
||||
. = ALIGN(. != 0 ? 32 / 8 : 1);
|
||||
*(.dynbss)
|
||||
*(.bss .bss.* .gnu.linkonce.b.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections.
|
||||
FIXME: Why do we need it? When there is no .bss section, we don't
|
||||
pad the .data section. */
|
||||
. = ALIGN(. != 0 ? 32 / 8 : 1);
|
||||
}
|
||||
. = ALIGN(32 / 8);
|
||||
. = ALIGN(32 / 8);
|
||||
|
|
|
@ -76,15 +76,15 @@ SECTIONS
|
|||
.iplt : { *(.iplt) }
|
||||
.bss :
|
||||
{
|
||||
*(.dynbss)
|
||||
*(.bss .bss.* .gnu.linkonce.b.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections.
|
||||
FIXME: Why do we need it? When there is no .bss section, we don't
|
||||
pad the .data section. */
|
||||
. = ALIGN(. != 0 ? 64 / 8 : 1);
|
||||
*(.dynbss)
|
||||
*(.bss .bss.* .gnu.linkonce.b.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections.
|
||||
FIXME: Why do we need it? When there is no .bss section, we don't
|
||||
pad the .data section. */
|
||||
. = ALIGN(. != 0 ? 64 / 8 : 1);
|
||||
}
|
||||
. = ALIGN(64 / 8);
|
||||
. = ALIGN(64 / 8);
|
||||
|
|
|
@ -88,15 +88,15 @@ SECTIONS
|
|||
}
|
||||
.bss :
|
||||
{
|
||||
*(.dynbss)
|
||||
*(.bss .bss.* .gnu.linkonce.b.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections.
|
||||
FIXME: Why do we need it? When there is no .bss section, we don't
|
||||
pad the .data section. */
|
||||
. = ALIGN(. != 0 ? 64 / 8 : 1);
|
||||
*(.dynbss)
|
||||
*(.bss .bss.* .gnu.linkonce.b.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections.
|
||||
FIXME: Why do we need it? When there is no .bss section, we don't
|
||||
pad the .data section. */
|
||||
. = ALIGN(. != 0 ? 64 / 8 : 1);
|
||||
}
|
||||
. = ALIGN(64 / 8);
|
||||
_end = .; PROVIDE (end = .);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kern.ldscript,v 1.2 2014/01/30 15:36:44 matt Exp $ */
|
||||
/* $NetBSD: kern.ldscript,v 1.3 2015/08/20 07:00:49 uebayasi Exp $ */
|
||||
|
||||
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
|
||||
"elf32-littlearm")
|
||||
|
@ -38,14 +38,14 @@ SECTIONS
|
|||
__bss_start__ = .;
|
||||
.bss :
|
||||
{
|
||||
*(.dynbss)
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections. */
|
||||
. = ALIGN(32 / 8);
|
||||
*(.dynbss)
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections. */
|
||||
. = ALIGN(32 / 8);
|
||||
}
|
||||
. = ALIGN(32 / 8);
|
||||
_end = .;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kern.ldscript,v 1.5 2005/12/11 12:19:05 christos Exp $ */
|
||||
/* $NetBSD: kern.ldscript,v 1.6 2015/08/20 07:00:49 uebayasi Exp $ */
|
||||
|
||||
/*
|
||||
* Kernel linker script for NetBSD/sparc. This script is based on
|
||||
|
@ -95,9 +95,9 @@ SECTIONS
|
|||
.sbss : { *(.sbss) *(.scommon) }
|
||||
.bss :
|
||||
{
|
||||
*(.dynbss)
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
*(.dynbss)
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
}
|
||||
. = ALIGN(32 / 8);
|
||||
_end = . ;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kern.ldscript,v 1.11 2010/06/01 22:13:30 mjf Exp $ */
|
||||
/* $NetBSD: kern.ldscript,v 1.12 2015/08/20 07:00:49 uebayasi Exp $ */
|
||||
|
||||
/*
|
||||
* Kernel linker script for NetBSD/sparc64. This script is based on
|
||||
|
@ -100,9 +100,9 @@ SECTIONS
|
|||
.sbss : { *(.sbss) *(.scommon) }
|
||||
.bss :
|
||||
{
|
||||
*(.dynbss)
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
*(.dynbss)
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
}
|
||||
. = ALIGN(64 / 8);
|
||||
_end = . ;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kern32.ldscript,v 1.10 2010/06/01 22:13:30 mjf Exp $ */
|
||||
/* $NetBSD: kern32.ldscript,v 1.11 2015/08/20 07:00:49 uebayasi Exp $ */
|
||||
|
||||
/*
|
||||
* Kernel linker script for NetBSD/sparc. This script is based on
|
||||
|
@ -101,9 +101,9 @@ SECTIONS
|
|||
.sbss : { *(.sbss) *(.scommon) }
|
||||
.bss :
|
||||
{
|
||||
*(.dynbss)
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
*(.dynbss)
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
}
|
||||
. = ALIGN(32 / 8);
|
||||
_end = . ;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ldscript.zaurus,v 1.6 2015/08/20 06:48:25 uebayasi Exp $ */
|
||||
/* $NetBSD: ldscript.zaurus,v 1.7 2015/08/20 07:00:49 uebayasi Exp $ */
|
||||
|
||||
OUTPUT_ARCH(arm)
|
||||
ENTRY(KERNEL_BASE_phys)
|
||||
|
@ -63,14 +63,14 @@ SECTIONS
|
|||
}
|
||||
.bss :
|
||||
{
|
||||
*(.dynbss)
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections. */
|
||||
. = ALIGN(32 / 8);
|
||||
*(.dynbss)
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
*(COMMON)
|
||||
/* Align here to ensure that the .bss section occupies space up to
|
||||
_end. Align after .bss to ensure correct alignment even if the
|
||||
.bss section disappears because there are no input sections. */
|
||||
. = ALIGN(32 / 8);
|
||||
}
|
||||
. = ALIGN(32 / 8);
|
||||
_end = .;
|
||||
|
|
Loading…
Reference in New Issue