aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/reloc-estimate-1.ld
blob: 776e503fec7013405211f1cfb2c0ebac3fdf22ab (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
SECTIONS
{
  . = 0;
  .reginfo : { *(.reginfo) }

  . = ALIGN (0x400);
  .dynamic : { *(.dynamic) }
  .dynsym : { *(.dynsym) }
  .dynstr : { *(.dynstr) }

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

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

  . = ALIGN (0x10000);
  .data : { *(.data) }

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

VERSION {
  V2 { global: foo; local: *; };
}