1 // RUN
: llvm-mc
-filetype
=obj
-triple x86_64-pc-linux
%s
-o
- | llvm-readobj
-r
--expand-relocs
- | FileCheck
%s
3 // test that we produce one relocation against each section.
5 // CHECK
: Relocations
[
6 // CHECK-NEXT
: Section
{{.*}} {
7 // CHECK-NEXT
: Relocation
{
10 // CHECK-NEXT
: Symbol
: .foo (2)
11 // CHECK-NEXT
: Addend
:
13 // CHECK-NEXT
: Relocation
{
14 // CHECK-NEXT
: Offset
:
16 // CHECK-NEXT
: Symbol
: .foo (4)
17 // CHECK-NEXT
: Addend
:
22 .section .foo,"aG",@progbits,v,comdat
25 .section .foo,"a",@progbits