forked from OSchip/llvm-project
22 lines
515 B
ArmAsm
22 lines
515 B
ArmAsm
|
# REQUIRES: x86
|
||
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
|
||
|
# RUN: ld.lld %t.o -o %t -pie
|
||
|
# RUN: llvm-readobj -dyn-symbols %t | FileCheck %s
|
||
|
|
||
|
# CHECK: DynamicSymbols [
|
||
|
# CHECK-NEXT: Symbol {
|
||
|
# CHECK-NEXT: Name: @ (0)
|
||
|
# CHECK-NEXT: Value: 0x0
|
||
|
# CHECK-NEXT: Size: 0
|
||
|
# CHECK-NEXT: Binding: Local (0x0)
|
||
|
# CHECK-NEXT: Type: None (0x0)
|
||
|
# CHECK-NEXT: Other: 0
|
||
|
# CHECK-NEXT: Section: Undefined (0x0)
|
||
|
# CHECK-NEXT: }
|
||
|
# CHECK-NEXT: ]
|
||
|
|
||
|
.weak foo
|
||
|
|
||
|
.globl _start
|
||
|
_start:
|