You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
377 B
16 lines
377 B
4 months ago
|
# REQUIRES: x86
|
||
|
# RUN: llvm-mc %s -filetype=obj -triple=x86_64-windows-msvc -o %t.obj
|
||
|
# RUN: not lld-link -entry:main -nodefaultlib %t.obj -out:%t.exe 2>&1 | FileCheck %s
|
||
|
|
||
|
# secrel relocations against absolute symbols are errors.
|
||
|
|
||
|
# CHECK: SECREL relocation cannot be applied to absolute symbols
|
||
|
|
||
|
.text
|
||
|
.global main
|
||
|
main:
|
||
|
ret
|
||
|
|
||
|
.section .rdata,"dr"
|
||
|
.secrel32 __guard_fids_table
|