Completely rewrite ELFObjectWriter::RecordRelocation.
[oota-llvm.git] / test / MC / ELF / bad-expr3.s
1 // RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o /dev/null \
2 // RUN: 2>&1 | FileCheck %s
3
4 // CHECK: Cannot represent a difference across sections
5
6         .long foo - bar
7         .section .zed
8 foo:
9         .section .bah
10 bar: