1
1
mirror of https://github.com/rui314/mold.git synced 2024-09-20 17:39:56 +03:00
Commit Graph

4253 Commits

Author SHA1 Message Date
Rui Ueyama
169a22d643 [Mach-O] Add -current_versin 2022-06-05 12:50:28 +08:00
Rui Ueyama
4a8cda75ad [Mach-O] Add -compatibility_version 2022-06-05 12:48:54 +08:00
Rui Ueyama
1ebaf5be84 [Mach-O] Do not read the same .a more than once 2022-06-05 12:30:16 +08:00
Rui Ueyama
a05aae7d7a Refactor 2022-06-05 11:45:45 +08:00
Rui Ueyama
f9ea7890a8 Remove dead code 2022-06-05 11:39:09 +08:00
Rui Ueyama
0488d95f38 Refactor 2022-06-05 11:34:13 +08:00
Rui Ueyama
6d0d19dffb [Mach-O] Remove a hack for Chromium 2022-06-05 10:39:21 +08:00
Rui Ueyama
e3e0593162 [Mach-O] Recurse on re-exported libraries 2022-06-04 22:23:41 +08:00
Rui Ueyama
7511aee558 Refactor 2022-06-04 22:23:21 +08:00
Rui Ueyama
6a3c35d97c [Mach-O] Add more hacks to link Chromium 2022-06-04 21:48:53 +08:00
Rui Ueyama
032b4d4cc5 Refactor 2022-06-04 21:10:52 +08:00
Rui Ueyama
3fb8b483b4 Fix CI 2022-06-04 20:31:09 +08:00
Rui Ueyama
e14788102c [Mach-O] Fix dylib ordinal for flat-bounded symbols 2022-06-04 20:17:16 +08:00
Rui Ueyama
96d9859f45 [Mach-O] Add a workaround for linking Chrome 2022-06-04 20:17:16 +08:00
Rui Ueyama
56e6c038dc [Mach-O] Fix a constant 2022-06-04 20:17:16 +08:00
Rui Ueyama
1f5da3d313 [Mach-O] Ignore comment lines in --exported_symbols_list file 2022-06-04 20:17:16 +08:00
Rui Ueyama
fc1aed3e99 [Mach-O] Load reexported libraries 2022-06-04 20:17:16 +08:00
Rui Ueyama
4b754348f5 [Mach-O] Support a local reference to a personality function 2022-06-04 20:17:16 +08:00
Rui Ueyama
eee1a87742 [Mach-O] Define -weak_framework as an alias for -framework for now 2022-06-04 20:17:16 +08:00
Rui Ueyama
1b52d228d4 Add a test 2022-06-04 20:17:16 +08:00
Rui Ueyama
3842222956
Update FUNDING.yml 2022-06-04 21:14:38 +09:00
Rui Ueyama
dce00d511b
Create FUNDING.yml 2022-06-04 16:01:47 +09:00
Rui Ueyama
0de862191b [Mach-O] Add --unexported_symbol and --unexported_symbols_list 2022-06-03 19:48:57 +08:00
Rui Ueyama
485877a826 Update README 2022-06-03 19:38:35 +08:00
Rui Ueyama
7478c27ce8 [Mach-O] Add --exported_symbol and --exported_symbols_list 2022-06-03 18:55:00 +08:00
Rui Ueyama
a5c216310b [Mach-O] Parallelize FunctionStartsSectoin::compute_size() 2022-06-03 17:57:16 +08:00
Rui Ueyama
c55c98c4f2 [Mach-O] Parallelize SymtabSection::copy_buf(). 2022-06-03 17:05:41 +08:00
Rui Ueyama
6b3fc59143 [Mach-O] Parallelize SymtabSection::compute_size() 2022-06-03 16:29:27 +08:00
Rui Ueyama
6779b2bdfe [Mach-O] Do not emit __ind_sym_tab
It looks like no one is using __ind_sym_tab section, so I'll remove
it for now. We can add it back later if it turns out necessary.
2022-06-03 16:03:26 +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
a50173c259 Revert "Refactor"
This reverts commit 280782b3ae because
it broke CI.
2022-06-03 10:41:50 +08:00
Rui Ueyama
280782b3ae Refactor 2022-06-03 10:14:12 +08:00
Rui Ueyama
5621394dc3 Do not use git command in Makefile
Fixes https://github.com/rui314/mold/issues/529
2022-06-02 21:27:26 +08:00
Rui Ueyama
fa420c38d4 [Mach-O] Handle private extern symbols 2022-06-02 21:27:10 +08:00
Rui Ueyama
ae33fd278f [Mach-O] Rename variables 2022-06-02 18:18:42 +08:00
Rui Ueyama
68a779f76b [Mach-O] Fix a crash bug 2022-06-02 18:05:31 +08:00
Rui Ueyama
f730dde6e7 [Mach-O] Add -object_path_lto 2022-06-02 16:29:50 +08:00
Rui Ueyama
8cf514408b [Mach-O] Print more staticstics numbers 2022-06-02 15:51:22 +08:00
Rui Ueyama
72c8446eb7 [Mach-O] Parallelize string merging 2022-06-02 14:25:52 +08:00
Rui Ueyama
f5d85e854f wip 2022-06-02 14:03:08 +08:00
Rui Ueyama
4e845f3972 Fix CI 2022-06-02 14:01:15 +08:00
Rui Ueyama
03af112272 [Mach-O] Add -stats option 2022-06-02 13:57:48 +08:00
Rui Ueyama
66c1433be1 [Mach-O] Merge string constants in __TEXT,__cstring 2022-06-02 13:39:51 +08:00
Rui Ueyama
621e2edd65 Refactor 2022-06-02 11:14:30 +08:00
Rui Ueyama
03045cb2d0 Refactor 2022-06-02 10:27:44 +08:00
Rui Ueyama
a572b803d2 Refactor 2022-06-02 10:23:32 +08:00
Rui Ueyama
7c52c41d7b Attempt to fix CI 2022-06-01 22:45:24 +08:00
Rui Ueyama
21fea57d99 [Mach-O] Parallelize export table construction 2022-06-01 22:31:26 +08:00