diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2002-07-09 08:47:24 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2002-07-09 08:47:24 +0000 |
commit | ad42262f8f1b8cc9d8af7a593faa7fde13ebb529 (patch) | |
tree | 75ae8f7d4cd91104a00933ddc16e378206026fcf /ld/testsuite/ld-scripts/dynamic-sections.t | |
parent | 0d2ddeb220080e9a157a45ee2e6ac6c19fc1fce6 (diff) | |
download | gdb-ad42262f8f1b8cc9d8af7a593faa7fde13ebb529.zip gdb-ad42262f8f1b8cc9d8af7a593faa7fde13ebb529.tar.gz gdb-ad42262f8f1b8cc9d8af7a593faa7fde13ebb529.tar.bz2 |
* ld-scripts/dynamic-sections*: New test.
Diffstat (limited to 'ld/testsuite/ld-scripts/dynamic-sections.t')
-rw-r--r-- | ld/testsuite/ld-scripts/dynamic-sections.t | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/dynamic-sections.t b/ld/testsuite/ld-scripts/dynamic-sections.t new file mode 100644 index 0000000..f1f24c8 --- /dev/null +++ b/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"); +} |