summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/relocs-ilp32.ld
blob: 7174aff236f189a1ae5caa94ecaf27c7ddb171b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Script for ld testsuite.  */
OUTPUT_ARCH(aarch64:ilp32)
ENTRY(_start)
SECTIONS
{
  /* Read-only sections, merged into text segment:  */
  PROVIDE (__executable_start = 0x8000); . = 0x10000;
  .text           :
  {
    *(.before)
    *(.text)
    *(.after)
  } =0
  . = 0x20000;
  .got            : { *(.got) *(.got.plt)}
  . = 0x12340000;
  .far : { *(.far) }
  .ARM.attributes 0 : { *(.ARM.atttributes) }
}