diff options
Diffstat (limited to 'ld/testsuite/ld-elf/pr13839.t')
-rw-r--r-- | ld/testsuite/ld-elf/pr13839.t | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/pr13839.t b/ld/testsuite/ld-elf/pr13839.t new file mode 100644 index 0000000..6baa228 --- /dev/null +++ b/ld/testsuite/ld-elf/pr13839.t @@ -0,0 +1,9 @@ +SECTIONS { + .text : { + _text = .; + *(.text) + } + _end = .; + /DISCARD/ : { *(.*) } +} +. = ASSERT((_end - _text <= (512 * 1024 * 1024)), "foo"); |