aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/got-page-1.ld
blob: fe2afe68d49a1f0a55f62f8d2805d1feefd28124 (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);
  _gp = . + 0x7ff0;
  .got : { *(.got) }

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

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

VERSION
{
  { local: *; };
}