lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
Last change
on this file since 19a1800 was 5e8b881, checked in by Martin Decky <martin@…>, 15 years ago |
|
uspace linker scripts unification
|
-
Property mode
set to
100644
|
|
File size:
1.0 KB
|
| Line | |
|---|
| 1 | STARTUP(LIBC_PATH/arch/UARCH/src/entry.o)
|
|---|
| 2 | ENTRY(__entry)
|
|---|
| 3 |
|
|---|
| 4 | PHDRS {
|
|---|
| 5 | text PT_LOAD FLAGS(5);
|
|---|
| 6 | data PT_LOAD FLAGS(6);
|
|---|
| 7 | debug PT_NOTE;
|
|---|
| 8 | }
|
|---|
| 9 |
|
|---|
| 10 | SECTIONS {
|
|---|
| 11 | . = 0x1000 + SIZEOF_HEADERS;
|
|---|
| 12 |
|
|---|
| 13 | .init : {
|
|---|
| 14 | *(.init);
|
|---|
| 15 | } :text
|
|---|
| 16 |
|
|---|
| 17 | .text : {
|
|---|
| 18 | *(.text);
|
|---|
| 19 | *(.rodata*);
|
|---|
| 20 | } :text
|
|---|
| 21 |
|
|---|
| 22 | . = . + 0x1000;
|
|---|
| 23 |
|
|---|
| 24 | .data : {
|
|---|
| 25 | *(.data);
|
|---|
| 26 | } :data
|
|---|
| 27 |
|
|---|
| 28 | .tdata : {
|
|---|
| 29 | _tdata_start = .;
|
|---|
| 30 | *(.tdata);
|
|---|
| 31 | *(.gnu.linkonce.tb.*);
|
|---|
| 32 | _tdata_end = .;
|
|---|
| 33 | _tbss_start = .;
|
|---|
| 34 | *(.tbss);
|
|---|
| 35 | _tbss_end = .;
|
|---|
| 36 | } :data
|
|---|
| 37 |
|
|---|
| 38 | _tls_alignment = ALIGNOF(.tdata);
|
|---|
| 39 |
|
|---|
| 40 | .bss : {
|
|---|
| 41 | *(COMMON);
|
|---|
| 42 | *(.bss);
|
|---|
| 43 | } :data
|
|---|
| 44 |
|
|---|
| 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 |
|
|---|
| 58 | /DISCARD/ : {
|
|---|
| 59 | *(*);
|
|---|
| 60 | }
|
|---|
| 61 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.