[PATCH] generate .init_array instead of .ctors sections for AArch64 ELF targets

Kristof Beyls kristof.beyls at arm.com
Thu Jan 9 07:28:23 PST 2014


Hi,

 

The AArch64 C++ ABI states that .init_array sections should be used for
static constructors.

The attached patches (one for clang, one for LLVM), make sure that these
sections get
produced in an ABI-compliant way, not just for linux platforms, but for all
ELF-based
platforms. Could I get a review on these patches?

 

Thanks,

 

Kristof
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140109/ab3377a7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: init_array_clang.patch
Type: application/octet-stream
Size: 2141 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140109/ab3377a7/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: init_array_llvm.patch
Type: application/octet-stream
Size: 2559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140109/ab3377a7/attachment-0001.obj>


More information about the llvm-commits mailing list