1# REQUIRES: x86 2 3# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o 4# RUN: ld.lld %t.o -o %t.so --gc-sections -shared 5# RUN: llvm-readobj --dyn-symbols %t.so | FileCheck %s 6 7# CHECK: Name: _end 8# CHECK-NEXT: Value: 9# CHECK-NEXT: Size: 10# CHECK-NEXT: Binding: Global 11# CHECK-NEXT: Type: None 12# CHECK-NEXT: Other: 13# CHECK-NEXT: Section: .data 14 15 .data 16 .globl g 17 g: 18 .quad _end 19