Commit | Line | Data |
---|---|---|
fa1c0170 CZ |
1 | /* Default linker script, for normal executables */ |
2 | OUTPUT_FORMAT("elf32-littlearc", "elf32-bigarc", | |
3 | "elf32-littlearc") | |
4 | ||
5 | OUTPUT_ARCH(arc) | |
6 | ENTRY(__start) | |
7 | ||
8 | SECTIONS | |
9 | { | |
10 | /* Read-only sections, merged into text segment: */ | |
11 | PROVIDE (__start = 0x10000); | |
12 | . = 0x10000 + SIZEOF_HEADERS; | |
13 | ||
14 | .text : {__SDATA_BEGIN__ = .; *(.text .stub .text.*)} =0 | |
15 | .sdata : {*(.sdata .sdata.*)} | |
16 | .sbss : {*(.sbss .sbss.*)} | |
17 | ||
18 | /DISCARD/ : { *(.__arc_profile_*) } | |
19 | /DISCARD/ : { *(.note.GNU-stack) } | |
20 | } |