aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/pr21375.ld
blob: ecc7d6abe81e4797c52c5b6200bff6d1c9512380 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SECTIONS
{
  .dynamic : { *(.dynamic) }
  .hash : { *(.hash) }
  .dynsym : { *(.dynsym) }
  .dynstr : { *(.dynstr) }
  .gnu.version : { *(.gnu.version) }
  .gnu.version_d : { *(.gnu.version_d) }
  .gnu.version_r : { *(.gnu.version_r) }
  /* Align up to account for traditional vs IRIX target differences
     with the alignment of dynamic sections.  This way GOT addresses
     work out the same.  */
  .text : ALIGN (512) { *(.text*) }
  HIDDEN (_gp = ALIGN (16) + 0x7ff0);
  .got : { *(.got) }
  .symtab : { *(.symtab) }
  .strtab : { *(.strtab) }
  .shstrtab : { *(.shstrtab) }
  /DISCARD/ : { *(*) }
}