Use a relocation against the symbol if it is a PLT and the symbol is in another
[oota-llvm.git] / test / MC / ELF / size.s
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump  | FileCheck %s
2
3 // Mostly a test that this doesn't crash anymore.
4
5 // CHECK:        # Symbol 4
6 // CHECK-NEXT:    (('st_name', 1) # 'foo'
7 // CHECK-NEXT:     ('st_bind', 1)
8
9         .size   foo, .Lbar-foo