aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/provide-hidden-1.ld
blob: 479862db936006de94ee17f46dee0a0d9439a4c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SECTIONS
{
  . = SIZEOF_HEADERS;
  . = 0x12300000;
  .data :
    {
      PROVIDE_HIDDEN (foo = . + 0x11100000);
      *(.data)
    }
  .got : { *(.got) }
  .interp : { *(.interp) }
  .dynsym : { *(.dynsym) }
  .dynstr : { *(.dynstr) }
  .dynamic : { *(.dynamic) }
  .hash : { *(.hash) }
}