summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-mips-elf/reloc-estimate-1.ld
blob: ec4c3450e5c0ee427e3d9ddd7886c7c94aec3918 (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);
  HIDDEN (_gp = . + 0x7ff0);
  .got : { *(.got) }
}

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