aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/got-page-1.ld
blob: 3197c9b599b74d72160248c3cf5c71bfc19f4bbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
SECTIONS
{
  . = 0x80000;
  .interp : { *(.interp) }
  .hash : { *(.hash) }
  .dynsym : { *(.dynsym) }
  .dynstr : { *(.dynstr) }

  . = ALIGN (0x400);
  .rel.dyn : { *(.rel.dyn) }

  . = ALIGN (0x400);
  .MIPS.stubs : { *(.MIPS.stubs) }

  . = ALIGN (0x400);
  .text : { *(.text) }

  . = ALIGN (0x10000);
  HIDDEN (_gp = . + 0x7ff0);
  .got : { *(.got) }

  . = ALIGN (0x400);
  .bss : { *(.bss .bss.*) }

  /DISCARD/ : { *(.reginfo) }
}

VERSION
{
  { local: *; };
}