~jakub/helenos/ia64-revival

« back to all changes in this revision

Viewing changes to uspace/srv/loader/arch/arm32/_link.ld.in

  • Committer: Jakub Jermar
  • Date: 2011-04-13 14:45:41 UTC
  • mfrom: (527.1.397 main-clone)
  • Revision ID: jakub@jermar.eu-20110413144541-x0j3r1zxqhsljx1o
MergeĀ mainlineĀ changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * The only difference from _link.ld.in for regular statically-linked apps
3
3
 * is the base address.
4
4
 */
 
5
 
5
6
STARTUP(LIBC_PREFIX/arch/UARCH/src/entry.o)
6
7
ENTRY(__entry)
7
8
 
15
16
        .interp : {
16
17
                *(.interp);
17
18
        } : interp
18
 
 
 
19
        
19
20
        . = 0x70001000;
20
 
 
 
21
        
21
22
        .init ALIGN(0x1000): SUBALIGN(0x1000) {
22
23
                *(.init);
23
 
        } : text
 
24
        } :text
 
25
        
24
26
        .text : {
25
 
                *(.text);
26
 
        *(.rodata*);
 
27
                *(.text .text.*);
 
28
                *(.rodata .rodata.*);
27
29
        } :text
28
30
        
29
31
        .data ALIGN(0x1000) : SUBALIGN(0x1000) {
31
33
                *(.data .data.*);
32
34
                *(.sdata);
33
35
        } :data
 
36
        
34
37
        .tdata : {
35
38
                _tdata_start = .;
36
39
                *(.tdata);
37
40
                _tdata_end = .;
38
41
        } :data
 
42
        
39
43
        .tbss : {
40
44
                _tbss_start = .;
41
45
                *(.tbss);
42
46
                _tbss_end = .;
43
47
        } :data
 
48
        
44
49
        _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss));
 
50
        
45
51
        .bss : {
46
52
                *(.sbss);
47
53
                *(.scommon);
48
 
        *(COMMON);
49
 
        *(.bss);
 
54
                *(COMMON);
 
55
                *(.bss);
50
56
        } :data
51
57
        
52
 
        . = ALIGN(0x1000);
53
 
        _heap = .;
54
 
        
55
58
        /DISCARD/ : {
56
59
                *(*);
57
60
        }
58
 
 
59
61
}