source:
mainline/uspace/lib/c/arch/ia32/_link.ld.in@
cb15135a
| Last change on this file since cb15135a was 5e8b881, checked in by , 15 years ago | |
|---|---|
|
|
| File size: 1.0 KB | |
| Rev | Line | |
|---|---|---|
| [1b1164e8] | 1 | STARTUP(LIBC_PATH/arch/UARCH/src/entry.o) |
| [3eddaff] | 2 | ENTRY(__entry) |
| 3 | ||
| [d03e156] | 4 | PHDRS { |
| [f563126] | 5 | text PT_LOAD FLAGS(5); |
| [a3aa1e1] | 6 | data PT_LOAD FLAGS(6); |
| [1e00216] | 7 | debug PT_NOTE; |
| [d03e156] | 8 | } |
| 9 | ||
| [3eddaff] | 10 | SECTIONS { |
| [1cc2974] | 11 | . = 0x1000 + SIZEOF_HEADERS; |
| [f563126] | 12 | |
| [1cc2974] | 13 | .init : { |
| [a3aa1e1] | 14 | *(.init); |
| 15 | } :text | |
| [f563126] | 16 | |
| [a3aa1e1] | 17 | .text : { |
| [d03e156] | 18 | *(.text); |
| [f563126] | 19 | *(.rodata*); |
| [a3aa1e1] | 20 | } :text |
| [f563126] | 21 | |
| [1cc2974] | 22 | . = . + 0x1000; |
| [f563126] | 23 | |
| [1cc2974] | 24 | .data : { |
| [a3aa1e1] | 25 | *(.data); |
| 26 | } :data | |
| [f563126] | 27 | |
| [c4c5de5] | 28 | .tdata : { |
| 29 | _tdata_start = .; | |
| 30 | *(.tdata); | |
| [f563126] | 31 | *(.gnu.linkonce.tb.*); |
| [c4c5de5] | 32 | _tdata_end = .; |
| 33 | _tbss_start = .; | |
| 34 | *(.tbss); | |
| 35 | _tbss_end = .; | |
| 36 | } :data | |
| [f563126] | 37 | |
| [e622f0a8] | 38 | _tls_alignment = ALIGNOF(.tdata); |
| [f563126] | 39 | |
| [a3aa1e1] | 40 | .bss : { |
| [f563126] | 41 | *(COMMON); |
| 42 | *(.bss); | |
| [a3aa1e1] | 43 | } :data |
| [d03e156] | 44 | |
| [1e00216] | 45 | #ifdef CONFIG_LINE_DEBUG |
| 46 | .comment 0 : { *(.comment); } :debug | |
| 47 | .debug_abbrev 0 : { *(.debug_abbrev); } :debug | |
| 48 | .debug_aranges 0 : { *(.debug_aranges); } :debug | |
| 49 | .debug_info 0 : { *(.debug_info); } :debug | |
| 50 | .debug_line 0 : { *(.debug_line); } :debug | |
| 51 | .debug_loc 0 : { *(.debug_loc); } :debug | |
| 52 | .debug_pubnames 0 : { *(.debug_pubnames); } :debug | |
| 53 | .debug_pubtypes 0 : { *(.debug_pubtypes); } :debug | |
| 54 | .debug_ranges 0 : { *(.debug_ranges); } :debug | |
| 55 | .debug_str 0 : { *(.debug_str); } :debug | |
| 56 | #endif | |
| 57 | ||
| [d03e156] | 58 | /DISCARD/ : { |
| [a3aa1e1] | 59 | *(*); |
| [d03e156] | 60 | } |
| [3eddaff] | 61 | } |
Note:
See TracBrowser
for help on using the repository browser.
