diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2002-07-09 08:47:24 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@nildram.co.uk> | 2002-07-09 08:47:24 +0000 |
commit | 0d8178ac754b7ab6aebd77db58e6b771609d5d20 (patch) | |
tree | e7e58a5c42547a2016fe0855e4901e5299180895 /ld/testsuite/ld-scripts/dynamic-sections.t | |
parent | f7a2b759cac0c77391061853e2541b14743a07fc (diff) | |
download | binutils-redhat-0d8178ac754b7ab6aebd77db58e6b771609d5d20.tar.gz |
* 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 0000000000..f1f24c830e --- /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"); +} |