1// REQUIRES: x86 2// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o 3 4// RUN: ld.lld -o %t.exe %t.o -wrap=_start 5// RUN: llvm-readobj --symbols -h %t.exe | FileCheck %s 6 7/// Note, ld.bfd uses _start as the _entry. 8 9// CHECK: Entry: [[ADDR:[0-9A-F]+]] 10// CHECK: Name: __wrap__start 11// CHECK-NEXT: Value: [[ADDR]] 12 13.global _start, __wrap__start 14_start: 15 nop 16__wrap__start: 17 nop 18