ldscript.mips.cfe (183815) | ldscript.mips.cfe (204186) |
---|---|
1/*- 2 * Copyright (c) 2001, 2004, 2008, Juniper Networks, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * JNPR: ldscript.mips,v 1.3 2006/10/11 06:12:04 | 1/*- 2 * Copyright (c) 2001, 2004, 2008, Juniper Networks, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * JNPR: ldscript.mips,v 1.3 2006/10/11 06:12:04 |
30 * $FreeBSD: head/sys/conf/ldscript.mips.cfe 183815 2008-10-13 06:07:58Z bms $ | 30 * $FreeBSD: head/sys/conf/ldscript.mips.cfe 204186 2010-02-22 01:48:38Z neel $ |
31 */ 32 33/* 34 * This linker script is needed to build a kernel for use by Broadcom CFE 35 * when loaded over TFTP; its ELF loader does not support backwards seek 36 * on network I/O streams. 37 * Furthermore, CFE will only load PT_LOAD segments, therefore the dynamic 38 * sections must be placed in their own segment. --- 17 unchanged lines hidden (view full) --- 56 text PT_LOAD ; 57 dynamic PT_LOAD ; 58 data PT_LOAD ; 59} 60 61SECTIONS 62{ 63 /* Read-only sections, merged into text segment: */ | 31 */ 32 33/* 34 * This linker script is needed to build a kernel for use by Broadcom CFE 35 * when loaded over TFTP; its ELF loader does not support backwards seek 36 * on network I/O streams. 37 * Furthermore, CFE will only load PT_LOAD segments, therefore the dynamic 38 * sections must be placed in their own segment. --- 17 unchanged lines hidden (view full) --- 56 text PT_LOAD ; 57 dynamic PT_LOAD ; 58 data PT_LOAD ; 59} 60 61SECTIONS 62{ 63 /* Read-only sections, merged into text segment: */ |
64 . = 0x80100000 ; | 64 . = KERNLOADADDR ; |
65 .interp : { *(.interp) } :interp 66 .hash : { *(.hash) } :text 67 .dynsym : { *(.dynsym) } 68 .dynstr : { *(.dynstr) } 69 .gnu.version : { *(.gnu.version) } 70 .gnu.version_d : { *(.gnu.version_d) } 71 .gnu.version_r : { *(.gnu.version_r) } 72 .rel.init : { *(.rel.init) } --- 249 unchanged lines hidden --- | 65 .interp : { *(.interp) } :interp 66 .hash : { *(.hash) } :text 67 .dynsym : { *(.dynsym) } 68 .dynstr : { *(.dynstr) } 69 .gnu.version : { *(.gnu.version) } 70 .gnu.version_d : { *(.gnu.version_d) } 71 .gnu.version_r : { *(.gnu.version_r) } 72 .rel.init : { *(.rel.init) } --- 249 unchanged lines hidden --- |