qt5base-lts/mkspecs
Tor Arne Vestbø c937bbb4fe iOS: Use LC_MAIN to wrap user main() instead of mangling object files
With iOS 6.0 and above the LC_MAIN load command is available, which allows
dyld to call the application entrypoint directly instead of going through
_start in crt.o. By passing -e to the linker we can change this entrypoint
to our wrapper that sets up the separate stack before entering the native
iOS runloop through UIApplicationMain. As before, we call the user's main()
from applicationDidFinishLaunching.

By using LC_MAIN instead of messing with the object files we open up the
possibility of generating Bitcode instead of object code, which can be
useful for link-time optimizations, either locally or by Apple.

Change-Id: If2153bc919581cd93dfa10fb6ff1c305b3e39a52
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com>
2015-06-29 12:39:50 +00:00
..
aix-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
aix-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
aix-xlc Update copyright headers 2015-02-11 06:49:51 +00:00
aix-xlc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
android-g++ Merge remote-tracking branch 'origin/5.4' into 5.5 2015-03-31 10:03:31 +02:00
blackberry-armle-v7-qcc Update copyright headers 2015-02-11 06:49:51 +00:00
blackberry-x86-qcc Update copyright headers 2015-02-11 06:49:51 +00:00
common WinRT: Add qmake support for Windows 10 2015-05-26 11:09:41 +00:00
cygwin-g++ centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
darwin-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
devices Modernize Beagleboard/Beaglebone specs 2015-06-29 11:45:42 +00:00
features fix "install target not created" for WinRt builds 2015-06-22 07:53:12 +00:00
freebsd-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
freebsd-g++46 Update copyright headers 2015-02-11 06:49:51 +00:00
freebsd-icc Update copyright headers 2015-02-11 06:49:51 +00:00
haiku-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
hpux-acc Update copyright headers 2015-02-11 06:49:51 +00:00
hpux-acc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
hpux-acc-o64 Update copyright headers 2015-02-11 06:49:51 +00:00
hpux-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
hpux-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
hpuxi-acc-32 Update copyright headers 2015-02-11 06:49:51 +00:00
hpuxi-acc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
hpuxi-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
hurd-g++ centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
irix-cc Update copyright headers 2015-02-11 06:49:51 +00:00
irix-cc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
irix-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
irix-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
linux-arm-gnueabi-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
linux-clang Update copyright headers 2015-02-11 06:49:51 +00:00
linux-clang-libc++ Update copyright headers 2015-02-11 06:49:51 +00:00
linux-cxx Update copyright headers 2015-02-11 06:49:51 +00:00
linux-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
linux-g++-32 Update copyright headers 2015-02-11 06:49:51 +00:00
linux-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
linux-icc Merge remote-tracking branch 'origin/5.4' into merge5.5 2015-05-08 13:26:44 +02:00
linux-icc-32 Update copyright headers 2015-02-11 06:49:51 +00:00
linux-icc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
linux-kcc Update copyright headers 2015-02-11 06:49:51 +00:00
linux-llvm Update copyright headers 2015-02-11 06:49:51 +00:00
linux-lsb-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
linux-pgcc Update copyright headers 2015-02-11 06:49:51 +00:00
lynxos-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
macx-clang Update copyright headers 2015-02-11 06:49:51 +00:00
macx-clang-32 Update copyright headers 2015-02-11 06:49:51 +00:00
macx-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
macx-g++40 Update copyright headers 2015-02-11 06:49:51 +00:00
macx-g++42 Update copyright headers 2015-02-11 06:49:51 +00:00
macx-g++-32 Update copyright headers 2015-02-11 06:49:51 +00:00
macx-icc Update copyright headers 2015-02-11 06:49:51 +00:00
macx-ios-clang iOS: Use LC_MAIN to wrap user main() instead of mangling object files 2015-06-29 12:39:50 +00:00
macx-llvm Update copyright headers 2015-02-11 06:49:51 +00:00
macx-xcode Add XCTest logger backend to QtTestLib 2015-03-27 16:53:43 +00:00
modules Adjust wiki links to the new redirect 2015-03-04 15:36:12 +00:00
netbsd-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
openbsd-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
qnx-armle-v7-qcc Update copyright headers 2015-02-11 06:49:51 +00:00
qnx-x86-qcc Update copyright headers 2015-02-11 06:49:51 +00:00
sco-cc Update copyright headers 2015-02-11 06:49:51 +00:00
sco-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-cc Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-cc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-cc-64-stlport Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-cc-stlport Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
tru64-cxx Update copyright headers 2015-02-11 06:49:51 +00:00
tru64-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
unixware-cc Update copyright headers 2015-02-11 06:49:51 +00:00
unixware-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
unsupported centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-g++ centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-icc centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-msvc2005 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-msvc2008 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-msvc2010 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-msvc2012 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-msvc2013 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-msvc2015 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
wince60standard-armv4i-msvc2005 Update copyright headers 2015-02-11 06:49:51 +00:00
wince60standard-x86-msvc2005 Update copyright headers 2015-02-11 06:49:51 +00:00
wince70embedded-armv4i-msvc2008 Update copyright headers 2015-02-11 06:49:51 +00:00
wince70embedded-x86-msvc2008 Update copyright headers 2015-02-11 06:49:51 +00:00
winphone-arm-msvc2013 Update copyright headers 2015-02-11 06:49:51 +00:00
winphone-x86-msvc2013 Update copyright headers 2015-02-11 06:49:51 +00:00
winrt-arm-msvc2013 Update copyright headers 2015-02-11 06:49:51 +00:00
winrt-arm-msvc2015 WinRT: Add qmake support for Windows 10 2015-05-26 11:09:41 +00:00
winrt-x64-msvc2013 Update copyright headers 2015-02-11 06:49:51 +00:00
winrt-x64-msvc2015 WinRT: Add qmake support for Windows 10 2015-05-26 11:09:41 +00:00
winrt-x86-msvc2013 Update copyright headers 2015-02-11 06:49:51 +00:00
winrt-x86-msvc2015 WinRT: Add qmake support for Windows 10 2015-05-26 11:09:41 +00:00