1// REQUIRES: x86
2// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
3// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/wrap-with-archive.s -o %t2
4// RUN: llvm-ar rcs %t3 %t2
5// RUN: ld.lld -o %t4 %t %t3 -wrap get_executable_start
6
7// Regression test for https://bugs.llvm.org/show_bug.cgi?id=40134
8
9.global get_executable_start
10.global _start
11
12_start:
13	jmp get_executable_start
14