2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3 # RUN: echo "SECTIONS { .text.zed : { *(.text.foo) } .text.qux : { *(.text.bar) } }" > %t.script
4 # RUN: ld.lld -T %t.script --emit-relocs %t.o -o %t
5 # RUN: llvm-objdump --section-headers %t | FileCheck %s
7 ## Check we name relocation sections in according to
8 ## their target sections names.
12 # CHECK: .rela.text.zed
13 # CHECK: .rela.text.qux
15 .section .text.foo,"ax"
19 .section .text.bar,"ax"