aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/dynamic-sections.t
blob: 64cf47d6742891459421a5ee601bda6b51ad6937 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
SECTIONS
{
  . = SIZEOF_HEADERS;
  .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");
}