diff options
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-scripts/dynamic-sections.t')
-rw-r--r-- | binutils-2.21/ld/testsuite/ld-scripts/dynamic-sections.t | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-scripts/dynamic-sections.t b/binutils-2.21/ld/testsuite/ld-scripts/dynamic-sections.t new file mode 100644 index 0000000..f1f24c8 --- /dev/null +++ b/binutils-2.21/ld/testsuite/ld-scripts/dynamic-sections.t @@ -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"); +} |