[PATCH] [ELF] Implement .{ctors,dtors}.<priority> sections ordering

Simon Atanasyan simon at atanasyan.com
Tue May 27 05:03:40 PDT 2014


Hi Bigcheese, shankarke, ruiu,

In general .ctors/.dtors sections might be considered as obsoleted but they still used on some target platforms like MIPS and maybe others.

Let's support ordering of such sections.

http://reviews.llvm.org/D3921

Files:
  lib/ReaderWriter/ELF/CMakeLists.txt
  lib/ReaderWriter/ELF/CtorsOrderPass.cpp
  lib/ReaderWriter/ELF/CtorsOrderPass.h
  lib/ReaderWriter/ELF/DefaultLayout.h
  lib/ReaderWriter/ELF/ELFLinkingContext.cpp
  test/elf/ctors-order.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3921.9831.patch
Type: text/x-patch
Size: 6075 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140527/e3f03a64/attachment.bin>


More information about the llvm-commits mailing list