Rui Ueyama
|
285ea7ba26
|
[Mach-O] Add -u
|
2022-06-16 14:24:59 +08:00 |
|
Rui Ueyama
|
b05a671789
|
[Mach-O] Do not split into subsections if MH_SUBSECTIONS_VIA_SYMBOLS is not set
|
2022-06-15 17:45:25 +08:00 |
|
Rui Ueyama
|
6f04ef9cf2
|
[Mach-O] Handle $ld$install_name$ symbols
|
2022-06-06 20:24:52 +08:00 |
|
Rui Ueyama
|
880204ebe5
|
[Mach-O] Handle $ld$hide$ symbols
|
2022-06-06 20:20:16 +08:00 |
|
Rui Ueyama
|
e11e68d508
|
[Mach-O] Handle $ld$add$ symbols
|
2022-06-06 19:49:58 +08:00 |
|
Rui Ueyama
|
d5b5b9afe1
|
[Mach-O] Handle $ld$previous$ symbols
|
2022-06-06 17:23:10 +08:00 |
|
Rui Ueyama
|
b364b3f453
|
[Mach-O] Add -weak-l<LIB>
|
2022-06-06 14:02:28 +08:00 |
|
Rui Ueyama
|
ea31281149
|
Add tests
|
2022-06-06 12:03:01 +08:00 |
|
Rui Ueyama
|
eee315ea52
|
[Mach-O] Allow glob patterns in -exported_symbols_list and -unexported_symbols_list
|
2022-06-05 17:47:42 +08:00 |
|
Rui Ueyama
|
1b52d228d4
|
Add a test
|
2022-06-04 20:17:16 +08:00 |
|
Rui Ueyama
|
0de862191b
|
[Mach-O] Add --unexported_symbol and --unexported_symbols_list
|
2022-06-03 19:48:57 +08:00 |
|
Rui Ueyama
|
7478c27ce8
|
[Mach-O] Add --exported_symbol and --exported_symbols_list
|
2022-06-03 18:55:00 +08:00 |
|
Rui Ueyama
|
7097946eee
|
[Mach-O] Merge symbol visibility
|
2022-06-03 15:03:29 +08:00 |
|
Rui Ueyama
|
67ec8f3376
|
[Mach-O] Handle symbols with N_WEAK_DEF|N_WEAK_REF as private extern
|
2022-06-03 13:23:45 +08:00 |
|
Rui Ueyama
|
0723476fa5
|
Add a test
|
2022-06-03 11:50:05 +08:00 |
|
Rui Ueyama
|
f730dde6e7
|
[Mach-O] Add -object_path_lto
|
2022-06-02 16:29:50 +08:00 |
|
Rui Ueyama
|
66c1433be1
|
[Mach-O] Merge string constants in __TEXT,__cstring
|
2022-06-02 13:39:51 +08:00 |
|
Rui Ueyama
|
826bb56d59
|
[Mach-O] Fix thread-local variables
|
2022-05-31 16:54:05 +08:00 |
|
Rui Ueyama
|
3f12a843a6
|
Revert "[Mach-O] Merge string constants in __TEXT,__cstring"
This reverts commit e770df42d9 because
it broke many clang tests.
|
2022-05-30 17:13:09 +08:00 |
|
Rui Ueyama
|
4826d393d1
|
[Mach-O] Set a LC_UUID even if -no_adhoc_codesign is given
|
2022-05-30 12:46:00 +08:00 |
|
Rui Ueyama
|
b82aa99bca
|
[Mach-O] Do not create LC_CODE_SIGNATURE if -no_adhoc_codesign is given
|
2022-05-30 12:26:05 +08:00 |
|
Rui Ueyama
|
e770df42d9
|
[Mach-O] Merge string constants in __TEXT,__cstring
|
2022-05-26 15:30:28 +08:00 |
|
Rui Ueyama
|
bd292ef782
|
[Mach-O] Support LC_LINKER_OPTION
Fixes https://github.com/rui314/mold/issues/523
|
2022-05-25 13:50:05 +08:00 |
|
Rui Ueyama
|
e293d56cc1
|
[Mach-O] Add -sectcreate
|
2022-05-21 15:56:36 +08:00 |
|
Rui Ueyama
|
33e00f2fb5
|
[Mach-O] Make output reproducible
|
2022-05-21 12:54:54 +08:00 |
|
Rui Ueyama
|
51f99db269
|
Attempt to fix CI
|
2022-05-20 14:52:03 +08:00 |
|
Rui Ueyama
|
94c100c211
|
Attempt to fix CI
|
2022-05-20 14:28:56 +08:00 |
|
Rui Ueyama
|
eb90d1bcbb
|
[Mach-O] Fix x86-64 CI
|
2022-05-20 14:18:31 +08:00 |
|
Rui Ueyama
|
7156ef7daa
|
Attempt to fix CI
|
2022-05-20 13:36:12 +08:00 |
|
Rui Ueyama
|
6b77349b4a
|
[Mach-O] Fix thread-local variables
With this change, mold can now link mold itself on macOS!
|
2022-05-20 13:12:58 +08:00 |
|
Rui Ueyama
|
2c5582b9e9
|
[Mach-O] Fix references to dyld_stub_binder
|
2022-05-19 18:14:34 +08:00 |
|
Rui Ueyama
|
c654d42c14
|
Merge pull request #520 from tapthaker/macho-tbd-files
[Mach-O] Adds support for objc and weak symbols in TBD files
|
2022-05-18 12:03:11 +08:00 |
|
Rui Ueyama
|
4b945c839f
|
Extend a test
|
2022-05-18 11:41:37 +08:00 |
|
Tapan Thaker
|
6d67614004
|
[Mach-O] Adds support for objc and weak symbols in TBD files
Signed-off-by: Tapan Thaker <tapan.d.thaker@gmail.com>
|
2022-05-17 20:16:27 -07:00 |
|
Rui Ueyama
|
1052b93c4f
|
[Mach-O] Deduplicate comdat symbols
|
2022-05-17 20:08:29 +08:00 |
|
Rui Ueyama
|
4d380ec645
|
[Mach-O] Add tests
|
2022-05-16 19:34:24 +08:00 |
|
Rui Ueyama
|
deebb497d3
|
[Mach-O][LTO] Add a basic support of LTO
mold/macOS can now link a "hello world" program with LTO.
|
2022-05-16 15:07:09 +08:00 |
|
Rui Ueyama
|
3cf8fc4b35
|
[Mach-O] Add -no_uuid and -uuid_random and -final_output
|
2022-05-14 15:51:42 +08:00 |
|
Rui Ueyama
|
7f3a05ad0f
|
[Mach-O] Add -hidden-l
|
2022-05-12 20:15:26 +08:00 |
|
Rui Ueyama
|
a5c7c98af8
|
[Mach-O] Add -stack_size
|
2022-05-12 19:07:04 +08:00 |
|
Rui Ueyama
|
00148f4d5e
|
[Mach-O] Add -install_name
|
2022-05-12 18:55:56 +08:00 |
|
Rui Ueyama
|
4bc287ff48
|
[Mach-O] Add -search_paths_first and -search_dylibs_first
|
2022-05-12 16:49:10 +08:00 |
|
Rui Ueyama
|
c054e3d197
|
Fix CI
|
2022-05-11 17:23:29 +08:00 |
|
Rui Ueyama
|
b6e9c6da66
|
[Mach-O] Add -U
|
2022-05-10 20:02:48 +08:00 |
|
Rui Ueyama
|
c1ba1707fc
|
[Mach-O] Add -force_load
|
2022-05-10 14:17:41 +08:00 |
|
Rui Ueyama
|
72ef8fc73a
|
[Mach-O] Support -all_load
|
2022-05-09 16:48:12 +08:00 |
|
Rui Ueyama
|
537a062d25
|
Remove unnecessary shell variable
|
2022-05-09 13:56:48 +08:00 |
|
Rui Ueyama
|
5d7064c01e
|
[Mach-O] Remove absolute addresses from tests
|
2022-05-09 11:57:42 +08:00 |
|
Rui Ueyama
|
f822898c2f
|
[Mach-O] Remove a hook to run executables under Qemu
Qemu does not suport user process emulation for macOS, so we'll
never use it.
|
2022-05-09 11:44:38 +08:00 |
|
Rui Ueyama
|
b2cf48de33
|
[Mach-O] Fix test for GitHub Actions
|
2022-05-09 11:43:09 +08:00 |
|