aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/pic-and-nonpic-6.ld
blob: d9f276b53809d27603606b5f996ac99de76aa295 (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
{
  . = 0x40000 + SIZEOF_HEADERS;
  .interp : { *(.interp) }

  . = 0x41000;
  .reginfo : { *(.reginfo) }
  .hash : { *(.hash) }
  .dynsym : { *(.dynsym) }
  .dynstr : { *(.dynstr) }

  . = 0x42000;
  .dynamic : { *(.dynamic) }

  . = 0x43000;
  .rel.dyn : { *(.rel.dyn) }
  .rel.plt : { *(.rel.plt) }
  .plt : { *(.plt) }

  . = 0x44000;
  .text : { *(.text) }
  .MIPS.stubs : { *(.MIPS.stubs) }
  .MIPS.options : { *(.MIPS.options) }

  . = 0x80000;
  .rld_map : { *(.rld_map) }

  . = 0x81000;
  .got.plt : { *(.got.plt) }

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

  . = 0xa1000;
  .data : { *(.data) }

  . = 0xa2000;
  .bss : { *(.dynbss) }
}