]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/conf/ldscript.mips.octeon1
ident(1): Normalizing date format
[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                 etext = .;
15                 _etext = .;
16                 . = ALIGN(0x2000);
17         } : text
18
19         . = ALIGN(0x2000);
20         .rodata : {
21                 _fdata = .;
22                 *(.rodata)
23                 . = ALIGN(32);
24         }
25
26         .note.gnu.build-id : {
27                 PROVIDE (__build_id_start = .);
28                 *(.note.gnu.build-id)
29                 PROVIDE (__build_id_end = .);
30         }
31         
32         .data : {
33                 _rwdata = .;
34                 *(.data)
35                 . = ALIGN(32);
36         }
37         .plt : { *(.plt) }
38         _gp = ALIGN(16) + 0x7ff0;
39         .got : { *(.got.plt) *(.got) }
40         .dynamic : { *(.dynamic) }
41
42         .sdata : {
43                 _small_start = .;
44                 *(.sdata)
45                 . = ALIGN(32);
46                 edata = .;
47                 _edata = .;
48         } : text
49
50         .sbss : {
51                 __bss_start = .;
52                 _fbss = .;
53                 *(.sbss) *(.scommon)
54                 _small_end = .;
55                 . = ALIGN(32);
56         }
57
58         .bss : {
59                 *(.bss)
60                 *(COMMON)
61                 . = ALIGN(32);
62                 _end = .;
63                 end = .;
64         }
65
66 }