llvm-project/lld/test/ELF/duplicate-internal.s
Rafael Espindola 9b3f99e50f Devide _gp in the same spot as other mips symbols. NFC.
The test changes are just because of the symbol order.

llvm-svn: 266037
2016-04-12 02:24:43 +00:00

12 lines
318 B
ArmAsm

# Should print an expected message in case of conflict with an internally generated symbol.
# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o
# RUN: not ld.lld -shared %t.o -o %t.so 2>&1 | FileCheck %s
# CHECK: duplicate symbol: _gp in {{.*}} and (internal)
# REQUIRES: mips
.globl _gp
_gp = 0