Sign in
cobalt
/
cobalt
/
04cd6faca4dd5039a1b810e9ba7b7a79e51a781d
/
.
/
src
/
third_party
/
llvm-project
/
lld
/
test
/
ELF
/
weak-undef-rw.s
blob: c75e7d67db3db3ea46b37592f767799a9ab74002 [
file
] [
log
] [
blame
]
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: ld.lld %t.o -o %t --export-dynamic
# RUN: llvm-readobj -r %t | FileCheck %s
# CHECK: R_X86_64_64 foobar 0x0
.global _start
_start
:
.data
.weak foobar
.quad foobar