source: mainline/uspace/lib/c/arch/sparc64/_link.ld.in@ 5fd3f2d

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 5fd3f2d was eaf4c393, checked in by Martin Decky <martin@…>, 14 years ago

sparc64: improve linker scripts

  • Property mode set to 100644
File size: 616 bytes
Line 
1STARTUP(LIBC_PATH/arch/UARCH/src/entry.o)
2ENTRY(__entry)
3
4PHDRS {
5 text PT_LOAD FLAGS(5);
6 data PT_LOAD FLAGS(6);
7}
8
9SECTIONS {
10 . = 0x4000 + SIZEOF_HEADERS;
11
12 .init : {
13 *(.init);
14 } :text
15
16 .text : {
17 *(.text .text.*);
18 *(.rodata .rodata.*);
19 } :text
20
21 . = . + 0x4000;
22
23 .got : {
24 _gp = .;
25 *(.got*);
26 } :data
27
28 .data : {
29 *(.data);
30 *(.sdata);
31 } :data
32
33 .tdata : {
34 _tdata_start = .;
35 *(.tdata);
36 _tdata_end = .;
37 _tbss_start = .;
38 *(.tbss);
39 _tbss_end = .;
40 } :data
41
42 _tls_alignment = ALIGNOF(.tdata);
43
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.