aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/provide-8.t
blob: a44f2f1f6b45cd445107b1ae6de01c40eb077123 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
SECTIONS
{
  .data 0x1000 :
  {
    *(.data .rw)
    QUAD (__FOO);
  }

  .foo 0x4000 :
  {
    PROVIDE (__FOO = .);
    *(.foo)
  }
}