]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/conf/ldscript.mips.octeon1
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.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                 CONSTRUCTORS;
32         }
33
34         _gp = (. + 0x8000);
35
36         .sdata : {
37                 _small_start = .;
38                 *(.sdata)
39                 . = ALIGN(32);
40                 edata = .;
41                 _edata = .;
42         } : text
43
44         .sbss : {
45                 __bss_start = .;
46                 _fbss = .;
47                 *(.sbss) *(.scommon)
48                 _small_end = .;
49                 . = ALIGN(32);
50         }
51
52         .bss : {
53                 *(.bss)
54                 *(COMMON)
55                 . = ALIGN(32);
56                 _end = .;
57                 end = .;
58         }
59
60 }