1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/sys/conf/ldscript.mips.octeon1.64
Juli Mallett 54020002f9 Harmonize Octeon ldscripts, reducing gratuitous diffs and using KERNLOADADDR in
all of them to set the load address.

Set svn:keywords.

Sponsored by:	Packet Forensics
2010-03-05 23:03:20 +00:00

61 lines
845 B
Plaintext

/* $FreeBSD$ */
TARGET(elf64-tradbigmips)
OUTPUT_FORMAT("elf64-tradbigmips", "elf64-tradbigmips", "elf64-tradlittlemips")
OUTPUT_ARCH(mips)
ENTRY(_start)
__DYNAMIC = 0;
PROVIDE (_DYNAMIC = 0);
SECTIONS {
. = KERNLOADADDR + SIZEOF_HEADERS;
.text . : {
*(.text)
*(.dynamic)
etext = .;
_etext = .;
. = ALIGN(0x2000);
}
.rodata ALIGN(0x2000) : {
_fdata = .;
*(.rodata)
. = ALIGN(32);
}
.data . : {
_rwdata = .;
*(.data)
. = ALIGN(32);
CONSTRUCTORS;
}
_gp = (. + 0x8000);
.sdata . : {
_small_start = .;
*(.sdata)
. = ALIGN(32);
edata = .;
_edata = .;
}
.sbss . : {
__bss_start = .;
_fbss = .;
*(.sbss) *(.scommon)
_small_end = .;
. = ALIGN(32);
}
.bss . : {
*(.bss)
*(COMMON)
. = ALIGN(32);
_end = .;
end = .;
}
}