// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r --symbols - | FileCheck %s
// Test that this produces a R_X86_64_PLT32 with bar.
.globl foo
foo:
bar = foo
.section zed, "", @progbits
call bar@PLT
// Test that this produres a relocation with bar2
.weak foo2
foo2:
.weak bar2
.set bar2,foo2
.quad bar2
// CHECK: Relocations
// CHECK: Symbols