aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/map-address.t
blob: e077ed1cb4c97993b258d5d2c2f88dffbc3eb8d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
SECTIONS
{
  def1 = DEFINED(foo) ? 0x10 : 0x20;
  def2 = def1;
  . = 0x10001;
  foo = .;
  . += 0x200;
  bar = .;
  . = ALIGN (4);
  frob = .;
}