17 lines · plain
1# REQUIRES: x862 3# Linker-synthesized sections shouldn't be gc'ed.4 5# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/shared.s -o %t16# RUN: ld.lld %t1 -shared -o %t.so7# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t28# RUN: ld.lld %t2 %t.so -build-id -dynamic-linker /foo/bar -o %t.out9# RUN: llvm-readobj --sections %t.out | FileCheck %s10 11# CHECK: Name: .interp12# CHECK: Name: .note.gnu.build-id13 14.globl _start15_start:16 ret17