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