aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/pr21375-xgot.ld
blob: d63169de0dd2bbcfb1a57e419aedaaf233a1eea7 (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) + 0x7fff8010);
  .got : { *(.got) }
  .symtab : { *(.symtab) }
  .strtab : { *(.strtab) }
  .shstrtab : { *(.shstrtab) }
  /DISCARD/ : { *(*) }
}