Commit Graph

20 Commits

Author SHA1 Message Date
Pierre Muller
389c927061 Allow to use ld64.lld if -XLL option is used 2025-02-17 15:06:52 -06:00
Jonas Maebe
fd83bb10d4 macOS: use -macos_version_min for recent versions
-macosx_version_min was renamed. Ideally we would base this on the version of
the toolset used, but we don't know that. Instead, use it when targeting
more recent macOS versions
2024-10-26 15:28:47 +02:00
Dmytro Bogatskyy
327aac7f24 Add aarch64-iphonesim target 2023-03-27 18:45:00 +00:00
Jonas Maebe
57935a895c Darwin: really fix -Xg for DWARF4 2022-10-30 21:57:19 +01:00
Jonas Maebe
b150480c60 Darwin: don't try to print size statistics if the binary wasn't linked 2022-10-12 22:58:19 +02:00
Jonas Maebe
b26703feaa Darwin version comparisons: factored out into object
Use numeric instead of string comparisons
2022-09-16 11:21:05 +02:00
Jonas Maebe
7ef33cf4b2 llvm: generalised sanitizer linking support
Also enabled automatic detection of sanitizer library + setting rpath to Linux
2022-07-24 14:36:23 +02:00
Jonas Maebe
1148caaece llvm: move asan library linking support to texternallinker
This way other platforms besides Darwin can also use it.
2022-07-24 14:34:47 +02:00
Jonas Maebe
4193563190 LLVM address sanitizer: add asan library and rpath on Darwin
Also verified that "make all" works with asan on macOS/AArch64
2022-07-10 22:28:30 +02:00
Jonas Maebe
1b2d7755ac darwin: also run dsymutil for DWARF 4 2022-06-18 16:50:01 +02:00
florian
e657aa6431 + write code and data size for Mach-O files if possible 2021-10-31 11:57:32 +01:00
Jonas Maebe
3263e12a3e iphonesim: use ios_simulator_version_min
The linker expects ios_simulator_version_min rather than -iphoneos_version_min
when targeting the iOS simulator platform. Fixes compilation with Xcode 11
toolchains, which is more strict about this.
2021-10-27 20:53:42 +02:00
Jonas Maebe
4c40e7f9d6 * Darwin: fixed calling dsymutil when _not_ skipping the linking step
git-svn-id: trunk@49136 -
2021-04-08 19:50:21 +00:00
Jonas Maebe
7a0c6ab591 - removed unused leftovers from old t_bsd code
* no longer execute the linker via a shell script, but directly

git-svn-id: trunk@49046 -
2021-03-24 14:33:13 +00:00
Jonas Maebe
9df70f08b1 * fix linker map generation on Darwin
git-svn-id: trunk@48401 -
2021-01-24 17:15:40 +00:00
yury
64c586b86d * Removed/ifdefed lots of unused variables.
git-svn-id: trunk@48384 -
2021-01-24 12:24:01 +00:00
Jonas Maebe
beac71ed24 * fix deleting the linksyms file after successful linking (mantis #37636)
git-svn-id: trunk@46677 -
2020-08-24 20:21:10 +00:00
Jonas Maebe
e7d1a77f9a * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS
* rename the m68k/PowerPC-MacOS targets to m68k/PowerPC-MacOSClassic
  * repurpose the AArch64/Darwin target for AArch64/macOS
   o make AArch64-Darwin default target for a hosted AArch64-Darwin compiler

git-svn-id: trunk@45758 -
2020-07-10 21:52:24 +00:00
Károly Balogh
8bdcf4273d * darwin: remove some leftover resource-spec structures from i_bsd, clean up some related darwin specific int/ext resource handling in options
git-svn-id: trunk@44455 -
2020-03-31 04:57:08 +00:00
Jonas Maebe
10b15628ab * split i/t_darwin from i/t_bsd, as they don't have that much in common
any more

git-svn-id: trunk@44407 -
2020-03-29 18:27:27 +00:00