diff options
author | Warner Losh <imp@FreeBSD.org> | 2009-11-24 14:57:50 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2009-11-24 14:57:50 +0000 |
commit | 715f0e291bc3accc708f4e72c071a1e3e18e89da (patch) | |
tree | 99725485c6ad90923b554d1bc8b4a459d165d00e /sys/conf/ldscript.mips.octeon1.n32 | |
parent | 96a25a70ad3f74a62614eb4a5d4a6b3c23de040d (diff) |
Get rid of redundant .kernel in these names.
Notes
Notes:
svn path=/projects/mips/; revision=199751
Diffstat (limited to 'sys/conf/ldscript.mips.octeon1.n32')
-rw-r--r-- | sys/conf/ldscript.mips.octeon1.n32 | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/sys/conf/ldscript.mips.octeon1.n32 b/sys/conf/ldscript.mips.octeon1.n32 new file mode 100644 index 000000000000..4eb322483dce --- /dev/null +++ b/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 = .; + } + +} |