llvm/test/MC/X86/reloc-bss.s
Davide Italiano e20e4c151f [MC] Don't crash when trying to emit a relocation against .bss.
Turn that into an error instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276783 91177308-0d34-0410-b5e6-96231b3b80d8
2016-07-26 18:16:33 +00:00

10 lines
261 B
ArmAsm

# RUN: not llvm-mc -filetype=obj -triple=x86_64-linux-gnu %s 2>&1 | FileCheck %s
# CHECK: LLVM ERROR: cannot have fixups in virtual section!
.section .init_array,"awT",@nobits
.hidden patatino
.globl patatino
patatino:
movl __init_array_start, %eax