aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/dynamic-sections.t
blob: f1f24c830e329a7fe45bf58c7155691702119111 (plain)
1
2
3
4
5
6
7
8
9
10
11
SECTIONS
{
  .data : { *(.data) }
  .rodata : { *(.rodata) }

  /* The .rel* sections are typically placed here, because of the way
     elf32.em handles orphaned sections.  A bug introduced on 2002-06-10
     would cause . to be 0 at this point.  */

  _bar = ASSERT (. > 0, "Bad . value");
}