aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/compressed-plt-1.ld
blob: 0108d0f21d3411f657312c69be65687aa219f7fe (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
32
33
34
35
36
37
38
39
40
SECTIONS
{
  . = 0x10000000;
  .interp : { *(.interp) }
  .reginfo : { *(.reginfo) }
  .hash : { *(.hash) }
  . = ALIGN(0x1000);
  .dynsym : { *(.dynsym) }
  . = ALIGN(0x1000);
  .dynstr : { *(.dynstr) }
  . = ALIGN(0x1000);
  .dynamic : { *(.dynamic) }
  . = ALIGN(0x1000);
  .rel.dyn : { *(.rel.dyn) }
  . = ALIGN(0x1000);
  .rel.plt : { *(.rel.plt) }
  . = 0x10100000;
  .plt : { *(.plt) }
  . = ALIGN(0x1000);
  .MIPS.stubs : { *(.MIPS.stubs) }
  . = ALIGN(0x1000);
  .text.a : { *(.text.a) }
  . = ALIGN(0x1000);
  .text.b : { *(.text.b) }
  . = ALIGN(0x1000);
  .text.c : { *(.text.c) }
  . = ALIGN(0x1000);
  .text.d : { *(.text.d) }
  . = 0x10200000;
  .got.plt : { *(.got.plt) }
  . = ALIGN(0x1000);
  .data : { *(.data) }
  . = ALIGN(0x1000);
  _gp = . + 0x7ff0;
  .got : { *(.got) }
  . = ALIGN(0x1000);
  .rld_map : { *(.rld_map) }

  /DISCARD/ : { *(.MIPS.abiflags) *(.gnu.attributes) }
}