mirror of
https://github.com/AxioDL/lld.git
synced 2026-03-30 11:44:17 -07:00
63209e3146
Thanks to Meador Ingle for noticing. git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@292799 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
427 B
ArmAsm
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
|