3 # Linker-synthesized sections shouldn't be gc'ed.
5 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/shared.s -o %t1
6 # RUN: ld.lld %t1 -shared -o %t.so
7 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t2
8 # RUN: ld.lld %t2 %t.so -build-id -dynamic-linker /foo/bar -o %t.out
9 # RUN: llvm-readobj --sections %t.out | FileCheck %s
11 # CHECK: Name: .interp
12 # CHECK: Name: .note.gnu.build-id