105 lines · plain
1// RUN: not llvm-mc -triple aarch64-none-linux-gnu_ilp32 \2// RUN: < %s 2> %t2 -filetype=obj >/dev/null3// RUN: FileCheck --check-prefix=ERROR %s --implicit-check-not=error: < %t24 5.xword sym-.6// ERROR: [[#@LINE-1]]:11: error: 8 byte PC relative data relocation is not supported in ILP327 8.xword sym+169// ERROR: [[#@LINE-1]]:[[#]]: error: 8 byte absolute data relocation is not supported in ILP3210 11.xword sym@AUTH(da,42)12// ERROR: [[#@LINE-1]]:8: error: 8 byte absolute data relocation is not supported in ILP3213 14.xword sym@AUTH(da,42,addr)15// ERROR: [[#@LINE-1]]:[[#]]: error: 8 byte absolute data relocation is not supported in ILP3216 17movz x7, #:abs_g3:some_label18// ERROR: [[#@LINE-1]]:11: error: absolute MOV relocation is not supported in ILP3219// ERROR: movz x7, #:abs_g3:some_label20 21movz x3, #:abs_g2:some_label22// ERROR: [[#@LINE-1]]:[[#]]: error: absolute MOV relocation is not supported in ILP3223// ERROR: movz x3, #:abs_g2:some_label24 25movz x19, #:abs_g2_s:some_label26// ERROR: [[#@LINE-1]]:[[#]]: error: absolute MOV relocation is not supported in ILP3227// ERROR: movz x19, #:abs_g2_s:some_label28 29movk x5, #:abs_g2_nc:some_label30// ERROR: [[#@LINE-1]]:[[#]]: error: absolute MOV relocation is not supported in ILP3231// ERROR: movk x5, #:abs_g2_nc:some_label32 33movz x19, #:abs_g1_s:some_label34// ERROR: [[#@LINE-1]]:[[#]]: error: absolute MOV relocation is not supported in ILP3235// ERROR: movz x19, #:abs_g1_s:some_label36 37movk x5, #:abs_g1_nc:some_label38// ERROR: [[#@LINE-1]]:[[#]]: error: absolute MOV relocation is not supported in ILP3239// ERROR: movk x5, #:abs_g1_nc:some_label40 41movz x3, #:dtprel_g2:var42// ERROR: [[#@LINE-1]]:[[#]]: error: absolute MOV relocation is not supported in ILP3243// ERROR: movz x3, #:dtprel_g2:var44 45movk x9, #:dtprel_g1_nc:var46// ERROR: [[#@LINE-1]]:[[#]]: error: absolute MOV relocation is not supported in ILP3247// ERROR: movk x9, #:dtprel_g1_nc:var48 49movz x3, #:tprel_g2:var50// ERROR: [[#@LINE-1]]:[[#]]: error: absolute MOV relocation is not supported in ILP3251// ERROR: movz x3, #:tprel_g2:var52 53movk x9, #:tprel_g1_nc:var54// ERROR: [[#@LINE-1]]:[[#]]: error: absolute MOV relocation is not supported in ILP3255// ERROR: movk x9, #:tprel_g1_nc:var56 57movz x15, #:gottprel_g1:var58// ERROR: [[#@LINE-1]]:[[#]]: error: absolute MOV relocation is not supported in ILP3259// ERROR: movz x15, #:gottprel_g1:var60 61movk x13, #:gottprel_g0_nc:var62// ERROR: [[#@LINE-1]]:[[#]]: error: absolute MOV relocation is not supported in ILP3263// ERROR: movk x13, #:gottprel_g0_nc:var64 65ldr x10, [x0, #:gottprel_lo12:var]66// ERROR: [[#@LINE-1]]:[[#]]: error: 64-bit load/store relocation is not supported in ILP3267// ERROR: ldr x10, [x0, #:gottprel_lo12:var]68 69ldr x24, [x23, #:got_lo12:sym]70// ERROR: [[#@LINE-1]]:[[#]]: error: 64-bit load/store relocation is not supported in ILP3271 72ldr x24, [x23, #:got_auth_lo12:sym]73// ERROR: [[#@LINE-1]]:[[#]]: error: 64-bit load/store relocation is not supported in ILP3274 75add x24, x23, #:got_auth_lo12:sym76// ERROR: [[#@LINE-1]]:[[#]]: error: ADD AUTH relocation is not supported in ILP3277 78ldr x24, [x23, :gottprel_lo12:sym]79// ERROR: [[#@LINE-1]]:[[#]]: error: 64-bit load/store relocation is not supported in ILP3280 81ldr x10, [x0, #:gottprel_lo12:var]82// ERROR: [[#@LINE-1]]:[[#]]: error: 64-bit load/store relocation is not supported in ILP3283// ERROR: ldr x10, [x0, #:gottprel_lo12:var]84 85ldr x24, [x23, #:got_lo12:sym]86// ERROR: [[#@LINE-1]]:[[#]]: error: 64-bit load/store relocation is not supported in ILP3287 88ldr x24, [x23, :gottprel_lo12:sym]89// ERROR: [[#@LINE-1]]:[[#]]: error: 64-bit load/store relocation is not supported in ILP3290 91ldr x24, :got_auth:sym92// ERROR: [[#@LINE-1]]:10: error: LDR AUTH relocation is not supported in ILP3293 94adr x24, :got_auth:sym95// ERROR: [[#@LINE-1]]:[[#]]: error: ADR AUTH relocation is not supported in ILP3296 97adrp x24, :tlsdesc_auth:sym98// ERROR: [[#@LINE-1]]:[[#]]: error: ADRP AUTH relocation is not supported in ILP3299 100ldr x24, [x23, :tlsdesc_auth_lo12:sym]101// ERROR: [[#@LINE-1]]:[[#]]: error: 64-bit load/store AUTH relocation is not supported in ILP32102 103add x24, x23, :tlsdesc_auth_lo12:sym104// ERROR: [[#@LINE-1]]:[[#]]: error: ADD AUTH relocation is not supported in ILP32105