svn commit: r201975 - head/sys/conf
Warner Losh
imp at FreeBSD.org
Sun Jan 10 04:49:13 UTC 2010
Author: imp
Date: Sun Jan 10 04:49:13 2010
New Revision: 201975
URL: http://svn.freebsd.org/changeset/base/201975
Log:
Merge from projects/mips to head by hand:
loader script for octeon1 in n32 abi mode.
Added:
- copied unchanged from r201974, projects/mips/sys/conf/ldscript.mips.octeon1.n32
Directory Properties:
head/sys/conf/ldscript.mips.octeon1.n32 (props changed)
Copied: head/sys/conf/ldscript.mips.octeon1.n32 (from r201974, projects/mips/sys/conf/ldscript.mips.octeon1.n32)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/conf/ldscript.mips.octeon1.n32 Sun Jan 10 04:49:13 2010 (r201975, copy of r201974, projects/mips/sys/conf/ldscript.mips.octeon1.n32)
@@ -0,0 +1,57 @@
+TARGET(elf32-ntradbigmips)
+OUTPUT_FORMAT("elf32-ntradbigmips", "elf32-ntradbigmips", "elf32-ntradlittlemips")
+OUTPUT_ARCH(mips)
+ENTRY(_start)
+ __DYNAMIC = 0;
+PROVIDE (_DYNAMIC = 0);
+
+SECTIONS {
+
+ .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 = .;
+ }
+
+}
More information about the svn-src-all
mailing list