1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-29 11:24:36 +03:00
Commit Graph

901 Commits

Author SHA1 Message Date
Rui Ueyama
7676fba220 wip 2021-03-29 19:14:11 +09:00
Rui Ueyama
6224187963 wip 2021-03-29 17:39:22 +09:00
Rui Ueyama
8963b5632c wip 2021-03-29 17:36:56 +09:00
Rui Ueyama
24f7d75049 wip 2021-03-29 16:28:39 +09:00
Rui Ueyama
99c67254c7 wip 2021-03-29 16:27:16 +09:00
Rui Ueyama
246af86ea4 wip 2021-03-29 16:17:33 +09:00
Rui Ueyama
2d3a19c0ca wip 2021-03-29 16:05:05 +09:00
Rui Ueyama
4821453ba3 wip 2021-03-29 16:02:12 +09:00
Rui Ueyama
c8531418de wip 2021-03-29 15:53:00 +09:00
Rui Ueyama
7ff68f2d9c wip 2021-03-29 15:16:53 +09:00
Rui Ueyama
30d104a0e6 wip 2021-03-29 14:40:00 +09:00
Rui Ueyama
f524122e6a wip 2021-03-29 14:36:55 +09:00
Rui Ueyama
bb9e0af50a wip 2021-03-29 14:05:55 +09:00
Rui Ueyama
244cc6cb28 wip 2021-03-29 13:36:26 +09:00
Rui Ueyama
79acda2880 wip 2021-03-29 13:36:26 +09:00
Rui Ueyama
bb315af2aa Support extern "C++" in version script 2021-03-27 16:09:54 +09:00
Rui Ueyama
907dd6a341 wip 2021-03-26 22:14:23 +09:00
Rui Ueyama
c224435187 wip 2021-03-26 15:52:57 +09:00
Rui Ueyama
48c8321344 Rename 2021-03-25 18:33:34 +09:00
Rui Ueyama
e75708056e Add -run 2021-03-25 17:05:05 +09:00
Rui Ueyama
6536f0af17 Add -fatal-warnings 2021-03-24 01:35:26 +09:00
Rui Ueyama
e7f1a86586 Output warning message to stderr 2021-03-24 01:23:53 +09:00
Rui Ueyama
4519f8660c Add -warn-common 2021-03-24 01:16:32 +09:00
Rui Ueyama
8f74992248 Make it work for Rust 2021-03-23 16:38:26 +09:00
Rui Ueyama
16cd35999f wip 2021-03-23 14:46:59 +09:00
Rui Ueyama
1bd26aea0b wip 2021-03-23 12:41:34 +09:00
Rui Ueyama
031e978bc6 Do not emit .got, .got.plt or .rela.got if empty 2021-03-23 11:02:13 +09:00
Rui Ueyama
41a77634d9 wip 2021-03-22 19:15:24 +09:00
Rui Ueyama
a0caf286a3 wip 2021-03-22 17:11:06 +09:00
Rui Ueyama
7d07b48c92 Support R_X86_64_SIZE32 and SIZE64 relocations 2021-03-20 12:35:51 +09:00
Rui Ueyama
bbb01922bb wip 2021-03-19 02:50:20 +09:00
Rui Ueyama
f2b851923d Refactor 2021-03-19 01:11:49 +09:00
Rui Ueyama
f03e11d768 wip 2021-03-18 20:29:39 +09:00
Rui Ueyama
1131ea7512 Add "-z nocopyreloc" 2021-03-18 19:54:56 +09:00
Rui Ueyama
b96155dafa Support TLSDESC 2021-03-18 16:43:47 +09:00
Rui Ueyama
9a477418e3 Add "-z nodlopen" and "-z nodelete" 2021-03-18 13:16:52 +09:00
Rui Ueyama
1b5a0c66bb wip 2021-03-18 01:04:30 +09:00
Rui Ueyama
726a3a59a6 wip 2021-03-17 22:04:17 +09:00
Rui Ueyama
2cb2723914 Sort .rela.dyn contents 2021-03-17 20:57:09 +09:00
Rui Ueyama
0941ab4e84 wip 2021-03-17 19:25:55 +09:00
Rui Ueyama
aee1267d8c wip 2021-03-17 19:14:51 +09:00
Rui Ueyama
bcfb96308f Support glob pattern in version script 2021-03-17 16:56:37 +09:00
Rui Ueyama
517b5ae52b wip 2021-03-17 16:05:34 +09:00
Rui Ueyama
6c06daf6f4 Align GNU_RELRO segment to page boundaries 2021-03-17 14:24:31 +09:00
Rui Ueyama
f2db8be4b9 Display simplified pathnames 2021-03-17 00:26:28 +09:00
Rui Ueyama
bdc3fc818a wip 2021-03-16 23:53:14 +09:00
Rui Ueyama
113c4325ff wip 2021-03-16 23:47:29 +09:00
Rui Ueyama
96f1f63c89 wip 2021-03-16 23:37:29 +09:00
Rui Ueyama
a96bd43246 Add -Bstatic and -Bdynamic 2021-03-16 21:57:28 +09:00
Rui Ueyama
75ff4645db Set DF_STATIC_TLS for output that cannot be used with dlopen() 2021-03-16 20:22:54 +09:00
Rui Ueyama
50d52a22dc Implement GOTTPOFF relaxation 2021-03-16 20:17:18 +09:00
Rui Ueyama
3b7860d375 wip 2021-03-16 16:01:00 +09:00
Rui Ueyama
5671de698b Relax indirect call or jump with GOTPCRELX relocation 2021-03-16 12:42:05 +09:00
Rui Ueyama
df06d5adad Add -Map 2021-03-16 00:56:11 +09:00
Rui Ueyama
c3bbb2c094 Add -filter and -auxiliary 2021-03-16 00:34:09 +09:00
Rui Ueyama
4bdc20986f Relax R_X86_64_GOTPCRELX_REX against MOV instruction to LEA 2021-03-15 20:32:44 +09:00
Rui Ueyama
118ad250f8 Use xxHash 2021-03-15 15:41:01 +09:00
Rui Ueyama
32612a786a wip 2021-03-15 14:04:26 +09:00
Rui Ueyama
1028d7934b wip 2021-03-14 20:59:48 +09:00
Rui Ueyama
e0b7468af6 wip 2021-03-14 17:04:45 +09:00
Rui Ueyama
6acf3c99cc wip 2021-03-14 16:34:10 +09:00
Rui Ueyama
4260435ff7 wip 2021-03-14 14:14:14 +09:00
Rui Ueyama
f07b9073cf wip 2021-03-14 00:58:13 +09:00
Rui Ueyama
cf7e672647 Optimize string merging 2021-03-14 00:09:54 +09:00
Rui Ueyama
0f5d2d730f wip 2021-03-13 23:39:11 +09:00
Rui Ueyama
554235f4da Rename -perf and -stats 2021-03-13 21:55:27 +09:00
Rui Ueyama
b4dda46b2c Add "-z defs" and -no-undefined option 2021-03-13 21:46:09 +09:00
Rui Ueyama
9d52727cd4 Ignore .note.gnu.property for now 2021-03-13 21:29:02 +09:00
Rui Ueyama
34b2e8029b wip 2021-03-13 18:24:03 +09:00
Rui Ueyama
7d1e40b79b Emit PTGNU_RELRO segment 2021-03-12 20:16:52 +09:00
Rui Ueyama
e8e14e4e0d Add -z execstack and -z noexecstack 2021-03-12 18:09:15 +09:00
Rui Ueyama
5f42971325 Do not hardcode Linux's ld.so path 2021-03-12 16:39:16 +09:00
Rui Ueyama
d7e1f2df1d wip 2021-03-12 15:52:54 +09:00
Rui Ueyama
39287cc9db wip 2021-03-12 14:20:10 +09:00
Rui Ueyama
069e2fe7a8 wip 2021-03-12 14:07:42 +09:00
Rui Ueyama
bac66c1304 wip 2021-03-12 11:45:52 +09:00
Rui Ueyama
35ab5ff089 wip 2021-03-12 01:17:46 +09:00
Rui Ueyama
f1691a34ca wip 2021-03-11 20:26:12 +09:00
Rui Ueyama
12e8e46abe wip 2021-03-11 20:10:36 +09:00
Rui Ueyama
38afdbb7b9 wip 2021-03-11 19:48:18 +09:00
Rui Ueyama
1bc2dbf8cc wip 2021-03-11 19:05:33 +09:00
Rui Ueyama
2d0e34fccc Simplify 2021-03-11 17:58:43 +09:00
Rui Ueyama
1da77d0061 wip 2021-03-11 17:48:28 +09:00
Rui Ueyama
d22290c665 wip 2021-03-11 17:38:46 +09:00
Rui Ueyama
252bf21ee1 wip 2021-03-11 17:37:06 +09:00
Rui Ueyama
c074f8ade6 wip 2021-03-11 17:20:59 +09:00
Rui Ueyama
25200eb61c wip 2021-03-11 15:36:35 +09:00
Rui Ueyama
004a34ba4e wip 2021-03-11 03:04:00 +09:00
Rui Ueyama
cbace36e0b wip 2021-03-11 01:16:39 +09:00
Rui Ueyama
ca0d82f6b6 wip 2021-03-11 01:15:53 +09:00
Rui Ueyama
604e39387d wip 2021-03-10 22:39:23 +09:00
Rui Ueyama
54dd328515 wip 2021-03-10 21:37:25 +09:00
Rui Ueyama
92bc9651a9 wip 2021-03-09 23:43:36 +09:00
Rui Ueyama
e7c0f61889 wip 2021-03-09 21:51:44 +09:00
Rui Ueyama
01e2df394e wip 2021-03-09 20:53:54 +09:00
Rui Ueyama
141f2e2bd1 wip 2021-03-09 12:41:36 +09:00
Rui Ueyama
fa1f01a767 wip 2021-03-09 02:56:01 +09:00
Rui Ueyama
7d2e04a23b Rename variables 2021-03-09 02:22:45 +09:00
Rui Ueyama
06b53ba6fe Delete unused member 2021-03-09 02:20:18 +09:00
Rui Ueyama
6e3d219c08 Add -dynamic-list 2021-03-08 21:11:54 +09:00