~galfy/helenos/bird-port-mainline

« back to all changes in this revision

Viewing changes to uspace/lib/libc/arch/amd64/_link.ld.in

  • Committer: Martin Decky
  • Date: 2009-08-04 11:19:19 UTC
  • Revision ID: martin@uranus.dsrg.hide.ms.mff.cuni.cz-20090804111919-evyclddlr3v5lhmp
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
STARTUP(LIBC_PREFIX/arch/UARCH/src/entry.o)
 
2
ENTRY(__entry)
 
3
 
 
4
PHDRS {
 
5
        text PT_LOAD FLAGS(5);
 
6
        data PT_LOAD FLAGS(6);
 
7
}
 
8
 
 
9
SECTIONS {
 
10
        . = 0x1000 + SIZEOF_HEADERS;
 
11
        
 
12
        .init : {
 
13
                *(.init);
 
14
        } :text
 
15
        .text : {
 
16
                *(.text);
 
17
                *(.rodata*);
 
18
        } :text
 
19
 
 
20
        . = . + 0x1000;
 
21
 
 
22
        .data : {
 
23
                *(.data);
 
24
        } :data
 
25
        .tdata : {
 
26
                _tdata_start = .;
 
27
                *(.tdata);
 
28
                _tdata_end = .;
 
29
                _tbss_start = .;
 
30
                *(.tbss);
 
31
                _tbss_end = .;
 
32
        } :data
 
33
        _tls_alignment = ALIGNOF(.tdata);
 
34
        .bss : {
 
35
                *(COMMON);
 
36
                *(.bss);
 
37
        } :data
 
38
 
 
39
        . = ALIGN(0x1000);
 
40
        _heap = .;
 
41
        
 
42
        /DISCARD/ : {
 
43
                *(*);
 
44
        }
 
45
 
 
46
}