George Rimar | ad530b2a | 2017-01-17 14:04:16 +0000 | [diff] [blame] | 1 | # REQUIRES: x86 |
| 2 | # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t |
| 3 | # RUN: echo "SECTIONS { .text 0x2000 : {. = 0x10 ; *(.text) } }" > %t.script |
George Rimar | 4b0253a | 2017-01-17 14:06:44 +0000 | [diff] [blame] | 4 | # RUN: not ld.lld %t --script %t.script -o %t1 |
George Rimar | ad530b2a | 2017-01-17 14:04:16 +0000 | [diff] [blame] | 5 | |
| 6 | ## This inputs previously created a 4gb temporarily fine under 32 bit |
| 7 | ## configuration. Issue was fixed. There is no clean way to check that from here. |
| 8 | ## This testcase added for documentation purposes. |
| 9 | |
| 10 | .globl _start |
| 11 | _start: |
| 12 | nop |