summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/weak.t
blob: 6cd013e11f712854ff9d999bcb7d437f1f53d3bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
SECTIONS
{
  .text 0x1000 : {
    tmpdir/weak1.o(.data)
  }
  .data 0x2000 : {
    tmpdir/weak2.o(.data)
  }
  /DISCARD/ : {
    *(*)
  }
}