llvm-project/lld/test/elf/AArch64/initfini-alignment.test
Chad Rosier 69e2881070 [AArch64] Initial ELF/AArch64 Support
This patch adds the initial ELF/AArch64 support to lld. Only a basic "Hello
World" app has been successfully tested for both dynamic and static compiling.

Differential Revision: http://reviews.llvm.org/D4778
Patch by Daniel Stewart <stewartd@codeaurora.org>!

llvm-svn: 215544
2014-08-13 13:16:38 +00:00

13 lines
422 B
Plaintext

# This tests the functionality that lld is able to create
# init_array/fini_array sections in the output ELF with the
# right alignment
RUN: lld -flavor gnu -target aarch64--linux-gnu %p/Inputs/initfini-option.o \
RUN: -init init -fini fini --noinhibit-exec -o %t
RUN: llvm-readobj -s %t | FileCheck %s
CHECK: Name: .init_array
CHECK: AddressAlignment: 8
CHECK: Name: .fini_array
CHECK: AddressAlignment: 8