diff options
Diffstat (limited to 'llvm/test/MC/AArch64/label-arithmetic-diags-elf.s')
| -rw-r--r-- | llvm/test/MC/AArch64/label-arithmetic-diags-elf.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/MC/AArch64/label-arithmetic-diags-elf.s b/llvm/test/MC/AArch64/label-arithmetic-diags-elf.s index 6e928bdf094..e9d92d591fa 100644 --- a/llvm/test/MC/AArch64/label-arithmetic-diags-elf.s +++ b/llvm/test/MC/AArch64/label-arithmetic-diags-elf.s @@ -63,9 +63,9 @@ end_across_sec: add w0, w1, #(sec_y - sec_x) cmp w0, #(sec_y - sec_x) - // CHECK: error: symbol 'sec_x' can not be undefined in a subtraction expression + // CHECK: error: Cannot represent a difference across sections // CHECK-NEXT: add w0, w1, #(sec_y - sec_x) // CHECK-NEXT: ^ - // CHECK: error: symbol 'sec_x' can not be undefined in a subtraction expression + // CHECK: error: Cannot represent a difference across sections // CHECK-NEXT: cmp w0, #(sec_y - sec_x) // CHECK-NEXT: ^ |

