Files
George Rimar 63209e3146 [ELF] - Committed missing ld.ldd invocation to constructor.s
Thanks to Meador Ingle for noticing.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@292799 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-23 16:55:13 +00:00

14 lines
427 B
ArmAsm

# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: echo "SECTIONS { foo : { *(.foo) CONSTRUCTORS } }" > %t.script
# RUN: ld.lld -o %t1 --script %t.script %t.o
# RUN: llvm-objdump -section-headers %t1 | FileCheck %s
# CHECK: Sections:
# CHECK-NEXT: Idx Name Size
# CHECK-NEXT: 0 00000000
# CHECK-NEXT: 1 foo 00000001
.section foo, "a"
.byte 0