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

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

sparc64: improve linker scripts

  • Property mode set to 100644
File size: 616 bytes
RevLine 
[1b1164e8]1STARTUP(LIBC_PATH/arch/UARCH/src/entry.o)
[bb5b950]2ENTRY(__entry)
3
4PHDRS {
5 text PT_LOAD FLAGS(5);
6 data PT_LOAD FLAGS(6);
7}
8
9SECTIONS {
[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.