summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/provide-1.t
blob: 6b96b3389c6e8e1441f75249448c4e735e04d051 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
SECTIONS 
{
  .data 0x2000 :
  {
    LONG (foo)
    LONG (bar)
    . = ALIGN (0x10);
    *(.data)
  }
  PROVIDE (foo = .);
  PROVIDE (bar = .);
}