Sign in
cobalt
/
cobalt
/
6c3b32a7dc6eaf2946073e6fa29281b8cb58f1e3
/
.
/
src
/
third_party
/
llvm-project
/
lld
/
test
/
ELF
/
weak-entry.s
blob: 427230ab82c68d923ec3ab44dacf6383c72aa521 [
file
] [
log
] [
blame
]
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
# RUN: ld.lld %t -o %tout
# RUN: llvm-nm %tout | FileCheck %s
# CHECK: w _start
# CHECK-NEXT: T foo
.global foo
.weak _start
.text
foo
:
.dc.a _start