]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r345806:
authordim <dim@FreeBSD.org>
Fri, 5 Apr 2019 16:09:23 +0000 (16:09 +0000)
committerdim <dim@FreeBSD.org>
Fri, 5 Apr 2019 16:09:23 +0000 (16:09 +0000)
commitbabe22427090edc47fdda29fc0e67755de425519
tree518e54e5ef547899df37037dde808def1a967fab
parenta634e56e1e70d2faea73bb06d82e9c01a2d18cbd
MFC r345806:

Pull in r357362 from upstream clang trunk (by David Chisnall):

  [objc-gnustep] Use .init_array not .ctors when requested.

  This doesn't make a difference most of the time but FreeBSD/ARM
  doesn't run anything in the .ctors array.

This should help with updating the libobjc2 port for armv7.

Requested by: theraven
Upstream PR: https://github.com/gnustep/libobjc2/issues/83
contrib/llvm/tools/clang/lib/CodeGen/CGObjCGNU.cpp