summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arc/jli-script.ld
blob: fdb9e902e58a73e9e87b77d790f8a5b5cc6814f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* 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
  .jlitab	  : {jlitab*.o(.jlitab*) *(.jlitab*) }
  .tdata          : {.tdata = .; *(.tdata .tdata.* .gnu.linkonce.td.*) }
  .tbss           : {.tbss = .; *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }

  /DISCARD/ : { *(.note.GNU-stack) }
}