diff options
Diffstat (limited to 'lld/test/ELF/exclude.s')
| -rw-r--r-- | lld/test/ELF/exclude.s | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lld/test/ELF/exclude.s b/lld/test/ELF/exclude.s new file mode 100644 index 00000000000..addc3dc72ec --- /dev/null +++ b/lld/test/ELF/exclude.s @@ -0,0 +1,12 @@ +# REQUIRES: x86 +# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t +# RUN: ld.lld -o %t1 %t +# RUN: llvm-objdump -section-headers %t1 | FileCheck %s +# CHECK-NOT: .aaa + +.globl _start +_start: + jmp _start + +.section .aaa,"ae" + .quad 0 |

