phunix/sys/arch/i386/conf/stand.ldscript
Lionel Sambuc 0a6a1f1d05 NetBSD re-synchronization of the source tree
This brings our tree to NetBSD 7.0, as found on -current on the
10-10-2015.

This updates:
 - LLVM to 3.6.1
 - GCC to GCC 5.1
 - Replace minix/commands/zdump with usr.bin/zdump
 - external/bsd/libelf has moved to /external/bsd/elftoolchain/
 - Import ctwm
 - Drop sprintf from libminc

Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
2016-01-13 20:32:14 +01:00

65 lines
936 B
Plaintext

/* $NetBSD: stand.ldscript,v 1.5 2015/08/22 23:49:54 uebayasi Exp $ */
OUTPUT_FORMAT("elf32-i386-minix", "elf32-i386-minix",
"elf32-i386-minix")
OUTPUT_ARCH(i386)
ENTRY(_start)
SECTIONS
{
/* Read-only sections, merged into text segment: */
.text :
{
*(.text)
*(.text.*)
*(.stub)
}
_etext = . ;
PROVIDE (etext = .) ;
.rodata :
{
*(.rodata)
*(.rodata.*)
}
__data_start = . ;
.data :
{
*(.data)
}
.data.cacheline_aligned :
{
*(.data.cacheline_aligned)
}
.data.read_mostly :
{
*(.data.read_mostly)
}
_edata = . ;
PROVIDE (edata = .) ;
__bss_start = . ;
.bss :
{
*(.bss)
*(.bss.*)
*(COMMON)
. = ALIGN(32 / 8);
}
. = ALIGN(32 / 8);
_end = . ;
PROVIDE (end = .) ;
/DISCARD/ : {
*(.eh_frame_hdr)
*(.eh_frame)
*(.note.netbsd.ident)
}
}
SECTIONS
{
.text :
AT (ADDR(.text) & 0x0fffffff)
{
*(.text)
} =0
}