source:
mainline/uspace/lib/c/arch/sparc64/_link.ld.in@
eaf4c393
Last change on this file since eaf4c393 was eaf4c393, checked in by , 14 years ago | |
---|---|
|
|
File size: 616 bytes |
Rev | Line | |
---|---|---|
[1b1164e8] | 1 | STARTUP(LIBC_PATH/arch/UARCH/src/entry.o) |
[bb5b950] | 2 | ENTRY(__entry) |
3 | ||
4 | PHDRS { | |
5 | text PT_LOAD FLAGS(5); | |
6 | data PT_LOAD FLAGS(6); | |
7 | } | |
8 | ||
9 | SECTIONS { | |
[1cc2974] | 10 | . = 0x4000 + SIZEOF_HEADERS; |
[5e8b881] | 11 | |
[1cc2974] | 12 | .init : { |
[bb5b950] | 13 | *(.init); |
14 | } :text | |
[5e8b881] | 15 | |
[bb5b950] | 16 | .text : { |
[eaf4c393] | 17 | *(.text .text.*); |
18 | *(.rodata .rodata.*); | |
[bb5b950] | 19 | } :text |
[5e8b881] | 20 | |
[1cc2974] | 21 | . = . + 0x4000; |
[5e8b881] | 22 | |
[1cc2974] | 23 | .got : { |
[cfa70add] | 24 | _gp = .; |
25 | *(.got*); | |
26 | } :data | |
[5e8b881] | 27 | |
[1cc2974] | 28 | .data : { |
[bb5b950] | 29 | *(.data); |
30 | *(.sdata); | |
31 | } :data | |
[5e8b881] | 32 | |
[bb5b950] | 33 | .tdata : { |
34 | _tdata_start = .; | |
35 | *(.tdata); | |
36 | _tdata_end = .; | |
37 | _tbss_start = .; | |
38 | *(.tbss); | |
39 | _tbss_end = .; | |
40 | } :data | |
[5e8b881] | 41 | |
[e622f0a8] | 42 | _tls_alignment = ALIGNOF(.tdata); |
[5e8b881] | 43 | |
[bb5b950] | 44 | .bss : { |
45 | *(.sbss); | |
46 | *(COMMON); | |
47 | *(.bss); | |
48 | } :data | |
49 | ||
50 | /DISCARD/ : { | |
51 | *(*); | |
52 | } | |
53 | } |
Note:
See TracBrowser
for help on using the repository browser.