[PATCH] D51414: [LLD] [COFF] Merge the .ctors and .dtors sections into .rdata for MinGW

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 29 05:57:08 PDT 2018


mstorsjo added a comment.

On the same topic; GNU ld doesn't merge .CRT into .rdata either, but perhaps we should? (It shouldn't hurt.) For MSVC environments, afaik this is handled by an embedded directive `/merge:.CRT=.rdata` from msvcrt.lib.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D51414





More information about the llvm-commits mailing list