mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
21 lines
580 B
Plaintext
21 lines
580 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 : {*(.text .stub .text.*)} =0
|
||
|
.tdata : {.tdata = .; *(.tdata .tdata.* .gnu.linkonce.td.*) }
|
||
|
.tbss : {.tbss = .; *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
|
||
|
|
||
|
/DISCARD/ : { *(.__arc_profile_*) }
|
||
|
/DISCARD/ : { *(.note.GNU-stack) }
|
||
|
}
|