Subversion Repositories freemyipod

Rev

Rev 10 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10 Rev 85
Line 10... Line 10...
10
    SDRAM : ORIGIN = 0x09f00000, LENGTH = 0x00100000
10
    SDRAM : ORIGIN = 0x09f00000, LENGTH = 0x00100000
11
}
11
}
12
 
12
 
13
SECTIONS
13
SECTIONS
14
{
14
{
15
    .init : {
15
    .init :
-
 
16
    {
-
 
17
        _initstart = .;
16
        *(.initcode*)
18
        *(.initcode*)
17
        *(.initrodata*)
19
        *(.initrodata*)
18
        *(.initdata*)
20
        *(.initdata*)
19
        . = ALIGN(0x4);
21
        . = ALIGN(0x4);
-
 
22
        _initend = .;
20
    } > INIT
23
    } > INIT
21
 
24
 
22
    .intvect : {
25
    .sram :
-
 
26
    {
23
        _sramstart = .;
27
        _sramstart = .;
24
        KEEP(*(.intvect))
28
        KEEP(*(.intvect))
25
        *(.intvect)
29
        *(.intvect)
26
    } > SRAM AT> INIT
-
 
27
    _sramsource = LOADADDR(.intvect);
-
 
28
 
-
 
29
    .iram :
-
 
30
    {
-
 
31
        *(.icode*)
30
        *(.icode*)
32
        *(.irodata*)
31
        *(.irodata*)
33
        *(.idata*)
32
        *(.idata*)
34
        . = ALIGN(0x4);
33
        . = ALIGN(0x4);
35
        _sramend = .;
34
        _sramend = .;
36
    } > SRAM AT> INIT
35
    } > SRAM AT> INIT
-
 
36
    _sramsource = LOADADDR(.sram);
37
 
37
 
38
    .text :
38
    .sdram :
39
    {
39
    {
40
        _sdramstart = .;
40
        _sdramstart = .;
41
        *(.text*)
41
        *(.text*)
42
        *(.glue_7)
42
        *(.glue_7)
43
        *(.glue_7t)
43
        *(.glue_7t)
44
        . = ALIGN(0x4);
44
        . = ALIGN(0x4);
45
    } > SDRAM AT> INIT
-
 
46
    _sdramsource = LOADADDR(.text);
-
 
47
 
-
 
48
    .rodata :
-
 
49
    {
-
 
50
        *(.rodata*)
45
        *(.rodata*)
51
        . = ALIGN(0x4);
46
        . = ALIGN(0x4);
52
    } > SDRAM AT> INIT
-
 
53
 
-
 
54
    .data :
-
 
55
    {
-
 
56
        *(.data*)
47
        *(.data*)
57
        . = ALIGN(0x4);
48
        . = ALIGN(0x4);
58
        _sdramend = .;
49
        _sdramend = .;
59
    } > SDRAM AT> INIT
50
    } > SDRAM AT> INIT
-
 
51
    _sdramsource = LOADADDR(.sdram);
60
 
52
 
61
    .initbss (NOLOAD) :
53
    .initbss (NOLOAD) :
62
    {
54
    {
63
        _initbssstart = .;
55
        _initbssstart = .;
64
        *(.initbss*)
56
        *(.initbss*)
65
        . = ALIGN(0x4);
57
        . = ALIGN(0x4);
66
        _initstackstart = .;
58
        _initstackstart = .;
67
        . += 0x4000;
59
        . += 0x400;
68
        _initstackend = .;
60
        _initstackend = .;
69
        _initbssend = .;
61
        _initbssend = .;
70
    } > INIT
62
    } > INIT
71
 
63
 
72
    .ibss (NOLOAD) :
64
    .ibss (NOLOAD) :
Line 78... Line 70...
78
        . += 0x400;
70
        . += 0x400;
79
        _irqstackend = .;
71
        _irqstackend = .;
80
        _abortstackstart = .;
72
        _abortstackstart = .;
81
        . += 0x400;
73
        . += 0x400;
82
        _abortstackend = .;
74
        _abortstackend = .;
83
        *(.stack)
75
        *(.stack*)
84
        _ibssend = .;
76
        _ibssend = .;
85
    } > SRAM
77
    } > SRAM
86
 
78
 
87
    .bss (NOLOAD) :
79
    .bss (NOLOAD) :
88
    {
80
    {