* ld-scripts/dynamic-sections*: New test.

This commit is contained in:
Richard Sandiford
2002-07-09 08:47:24 +00:00
parent 0d2ddeb220
commit ad42262f8f
6 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,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");
}