]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/conf/ldscript.mips.octeon1
cdn-patch: offer option to mount /etc/keys before attaching geli devices
[FreeBSD/FreeBSD.git] / sys / conf / ldscript.mips.octeon1
1 /* $FreeBSD$ */
2
3 ENTRY(_start)
4
5 PHDRS {
6         text PT_LOAD FLAGS(0x7);
7 }
8
9 SECTIONS {
10         . = KERNLOADADDR + SIZEOF_HEADERS;
11
12         .text : {
13                 *(.text)
14                 *(.dynamic)
15                 etext = .;
16                 _etext = .;
17                 . = ALIGN(0x2000);
18         } : text
19
20         . = ALIGN(0x2000);
21         .rodata : {
22                 _fdata = .;
23                 *(.rodata)
24                 . = ALIGN(32);
25         }
26         
27         .data : {
28                 _rwdata = .;
29                 *(.data)
30                 . = ALIGN(32);
31         }
32
33         _gp = (. + 0x8000);
34
35         .sdata : {
36                 _small_start = .;
37                 *(.sdata)
38                 . = ALIGN(32);
39                 edata = .;
40                 _edata = .;
41         } : text
42
43         .sbss : {
44                 __bss_start = .;
45                 _fbss = .;
46                 *(.sbss) *(.scommon)
47                 _small_end = .;
48                 . = ALIGN(32);
49         }
50
51         .bss : {
52                 *(.bss)
53                 *(COMMON)
54                 . = ALIGN(32);
55                 _end = .;
56                 end = .;
57         }
58
59 }