source: svn/trunk/newcon3bcm2_21bu/dta/src/jflu/jflu.script @ 2

Last change on this file since 2 was 2, checked in by phkim, 11 years ago

1.phkim

  1. revision copy newcon3sk r27
  • Property svn:executable set to *
File size: 950 bytes
Line 
1OUTPUT_ARCH(mips)
2ENTRY(start)
3
4MEMORY
5{
6        FLASH(R)        : ORIGIN = 0x9fc00000, LENGTH = 0x0007C000
7        RAM(RW)         : ORIGIN = (0x80000000+0x01000000), LENGTH = (0x2000000-((0x80000000+0x01000000)-0x80000000))
8        JFLU_RAM                : ORIGIN = 0x81000000, LENGTH = 64K
9        JFLU_BSS                : ORIGIN = 0x81000000+0x500000, LENGTH = 64K
10}
11
12SECTIONS
13{
14        .text :
15        {
16                _ftext = .;
17                *(.text)
18                *(.rodata)
19                *(.rodata1)
20                *(.rodata.str1.4)
21                *(.rodata.cst4)
22                *(.rodata.cst8)
23                *(.fini)
24                *(.reginfo)
25        } > JFLU_RAM
26        . = ALIGN(16);
27        _etext = .;
28        etext = .;
29       
30        .data : AT (_etext)
31        {
32                _fdata = .;
33                *(data)
34                SORT(CONSTRUCTORS)
35                LONG(0x55aa55aa)
36        } > JFLU_RAM
37        . = ALIGN(4);
38       
39        . = ALIGN(4);
40       
41        _edata  =  .;
42
43        .sbss (NOLOAD) :
44        {
45                _fbss = .;
46                *(.sbss)
47                *(.scommon)
48        } > JFLU_BSS
49       
50        .bss (NOLOAD) :
51        {
52                _bss_start = .;
53                *(.bss)
54                *(COMMON)
55                . = ALIGN(4);
56        } > JFLU_BSS
57       
58        . = ALIGN(4);
59        _end = .;
60        PROVIDE(_end = .);
61        end = .;
62        PROVIDE(end = .);
63    comp_size = _bss_start - _edata;
64}
Note: See TracBrowser for help on using the repository browser.