[LLD][COFF] Fix TypeServerSource matcher with more than one collision
[llvm-project.git] / lld / test / COFF / secrel-absolute.s
blob630af6e72276c9879437f28825a036dab8cab6bf
1 # REQUIRES: x86
2 # RUN: llvm-mc %s -filetype=obj -triple=x86_64-windows-msvc -o %t.obj
3 # RUN: not lld-link -entry:main -nodefaultlib %t.obj -out:%t.exe 2>&1 | FileCheck %s
5 # secrel relocations against absolute symbols are errors.
7 # CHECK: SECREL relocation cannot be applied to absolute symbols
9 .text
10 .global main
11 main:
12 ret
14 .section .rdata,"dr"
15 .secrel32 __guard_fids_table