mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-24 23:32:06 +00:00
21 lines
526 B
Plaintext
21 lines
526 B
Plaintext
|
/* Default linker script, for normal executables */
|
||
|
OUTPUT_FORMAT("elf32-littlearc", "elf32-bigarc",
|
||
|
"elf32-littlearc")
|
||
|
|
||
|
OUTPUT_ARCH(arc)
|
||
|
ENTRY(__start)
|
||
|
|
||
|
SECTIONS
|
||
|
{
|
||
|
/* Read-only sections, merged into text segment: */
|
||
|
PROVIDE (__start = 0x10000);
|
||
|
. = 0x10000 + SIZEOF_HEADERS;
|
||
|
|
||
|
.text : {__SDATA_BEGIN__ = .; *(.text .stub .text.*)} =0
|
||
|
.sdata : {*(.sdata .sdata.*)}
|
||
|
.sbss : {*(.sbss .sbss.*)}
|
||
|
|
||
|
/DISCARD/ : { *(.__arc_profile_*) }
|
||
|
/DISCARD/ : { *(.note.GNU-stack) }
|
||
|
}
|