]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/blob - sys/conf/ldscript.mips.octeon1.64
MFC r286886: Fixing typo as well as improving readability of a few comments.
[FreeBSD/stable/8.git] / sys / conf / ldscript.mips.octeon1.64
1 /* $FreeBSD$ */
2
3 TARGET(elf64-tradbigmips)
4 OUTPUT_FORMAT("elf64-tradbigmips", "elf64-tradbigmips", "elf64-tradlittlemips")
5 OUTPUT_ARCH(mips)
6 ENTRY(_start)
7    __DYNAMIC = 0;
8 PROVIDE (_DYNAMIC = 0);
9
10 PHDRS {
11         text PT_LOAD FLAGS(0x7);
12 }
13
14 SECTIONS {
15         . = KERNLOADADDR + SIZEOF_HEADERS;
16
17         .text : {
18                 *(.text)
19                 *(.dynamic)
20                 etext = .;
21                 _etext = .;
22                 . = ALIGN(0x2000);
23         } : text
24
25         . = ALIGN(0x2000);
26         .rodata : {
27                 _fdata = .;
28                 *(.rodata)
29                 . = ALIGN(32);
30         }
31         
32         .data : {
33                 _rwdata = .;
34                 *(.data)
35                 . = ALIGN(32);
36                 CONSTRUCTORS;
37         }
38
39         _gp = (. + 0x8000);
40
41         .sdata : {
42                 _small_start = .;
43                 *(.sdata)
44                 . = ALIGN(32);
45                 edata = .;
46                 _edata = .;
47         } : text
48
49         .sbss : {
50                 __bss_start = .;
51                 _fbss = .;
52                 *(.sbss) *(.scommon)
53                 _small_end = .;
54                 . = ALIGN(32);
55         }
56
57         .bss : {
58                 *(.bss)
59                 *(COMMON)
60                 . = ALIGN(32);
61                 _end = .;
62                 end = .;
63         }
64
65 }