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

3064 Commits

Author SHA1 Message Date
Rui Ueyama
4a1ec53c24 [Mach-O] wip 2021-11-12 19:10:00 +09:00
Rui Ueyama
2b807ddf83 [Mach-O] wip 2021-11-12 09:56:28 +09:00
Rui Ueyama
66b95013f9 [Mach-O] wip 2021-11-11 16:14:13 +09:00
Rui Ueyama
a5e3c681bc [Mach-O] wip 2021-11-11 16:06:21 +09:00
Rui Ueyama
2d5cb51fe2 [Mach-O] wip 2021-11-11 14:53:28 +09:00
Rui Ueyama
03b9e1b914 [Mach-O] wip 2021-11-11 14:41:57 +09:00
Rui Ueyama
132dd7a7f2 [Mach-O] wip 2021-11-11 14:11:55 +09:00
Rui Ueyama
25a902c45a [Mach-O] wip 2021-11-11 13:36:23 +09:00
Rui Ueyama
be6824b14d [Mach-O] wip 2021-11-10 22:20:10 +09:00
Rui Ueyama
026f7b9abc [Mach-O] wip 2021-11-10 22:11:54 +09:00
Rui Ueyama
bec8166a77 [Mach-O] wip 2021-11-10 20:54:27 +09:00
Rui Ueyama
9f6db83054 [Mach-O] wip 2021-11-10 15:29:41 +09:00
Rui Ueyama
87c4c1df15 [Mach-O] Relax GOT/TLV load instructions 2021-11-09 19:09:07 +09:00
Rui Ueyama
92f56aa73f [Mach-O] Support thread-local variables 2021-11-09 16:23:43 +09:00
Rui Ueyama
3a24532d2a [Mach-O] wip 2021-11-08 20:36:27 +09:00
Rui Ueyama
cd73b40635 [Mach-O] wip 2021-11-08 00:17:36 +09:00
Rui Ueyama
72587e643f [Mach-O] wip 2021-11-07 23:57:43 +09:00
Rui Ueyama
ea6d310576 [Mach-O] wip 2021-11-07 20:01:36 +09:00
Rui Ueyama
0cb34615d9 [Mach-O] wip 2021-11-07 19:12:58 +09:00
Rui Ueyama
c89448d17c [Mach-O] Fix local symbol handling
With this commit, `git show` seems to be working fine on my Mac.
2021-11-07 16:32:23 +09:00
Rui Ueyama
0f0f747135 [Mach-O] Fix .bss sections 2021-11-07 12:18:55 +09:00
Rui Ueyama
fd5d95f9d0 [Mach-O] wip 2021-11-07 11:19:58 +09:00
Rui Ueyama
a9fea29aaf [Mach-O] wip 2021-11-06 21:29:11 +09:00
Rui Ueyama
6d709de396 [Mach-O] wip 2021-11-06 16:22:55 +09:00
Rui Ueyama
b78a62c7ab [Mach-O] wip 2021-11-06 15:50:27 +09:00
Rui Ueyama
d88b4c1e86 [Mach-O] wip 2021-11-06 14:56:51 +09:00
Rui Ueyama
a4bdd81966 [Mach-O] wip 2021-11-06 14:29:02 +09:00
Rui Ueyama
97ed33758e [Mach-O] wip 2021-11-06 13:05:34 +09:00
Rui Ueyama
f7b2558b0e [Mach-O] wip 2021-11-06 11:04:27 +09:00
Rui Ueyama
f232e857f0 [Mach-O] wip 2021-11-06 10:53:44 +09:00
Rui Ueyama
977ebe5256 [Mach-O] wip 2021-11-05 22:02:11 +09:00
Rui Ueyama
cbc990d459 [Mach-O] wip 2021-11-05 18:40:59 +09:00
Rui Ueyama
cd47a3b2be [Mach-O] wip 2021-11-05 16:00:56 +09:00
Rui Ueyama
f5dbb8112c Format 2021-11-05 14:41:26 +09:00
Rui Ueyama
247655179f [Mach-O] Add -map option 2021-11-05 14:23:28 +09:00
Rui Ueyama
3f2124e612 [Mach-O] wip 2021-11-05 12:37:26 +09:00
Rui Ueyama
27ed76ddac [Mach-O] wip 2021-11-04 23:12:46 +09:00
Rui Ueyama
f90a55cec9 [ELF] Ignore invalid SHF_MERGE sections
DMD, a compiler for the D language, generates a broken .rodata.str1.1
section with sh_entsize = 0. The section also contains out-of-bound
relocations. This patch handles such broken mergeable sections as
regular sections to workaround the issues.

Fixes https://github.com/rui314/mold/issues/126
2021-11-04 22:42:33 +09:00
Rui Ueyama
06f377806b Fix formatting 2021-11-04 22:14:27 +09:00
Rui Ueyama
32f30c304e [ELF] Fix -thread-count option 2021-11-04 22:13:51 +09:00
Rui Ueyama
3d02a3b20b [Mach-O] wip 2021-11-03 22:07:50 +09:00
Rui Ueyama
0f2dbbc09d [Mach-O] Emit __data_in_code 2021-11-03 21:10:46 +09:00
Rui Ueyama
bfa50ac015 [Mach-O] Handle Universal binaries 2021-11-03 16:38:29 +09:00
Rui Ueyama
23bbb0fcd2 [Mach-O] Parse .dylib files 2021-11-03 15:26:31 +09:00
Rui Ueyama
32cdec42cb [Mach-O] wip 2021-11-03 13:58:36 +09:00
Rui Ueyama
ac8597dee0 [Mach-O] wip 2021-11-03 13:48:18 +09:00
Rui Ueyama
9cef61debe [Mach-O] Emit __code_signature section 2021-11-02 16:11:29 +09:00
Rui Ueyama
2524c6448e [Mach-O] wip 2021-11-02 15:43:18 +09:00
Rui Ueyama
c5f3a92f51 [Mach-O] wip 2021-11-02 15:23:06 +09:00
Rui Ueyama
00e45a4ba1 [Mach-O] wip 2021-11-02 15:08:02 +09:00