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
13 lines
422 B
Plaintext
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
|