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