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

6695 Commits

Author SHA1 Message Date
Rui Ueyama
77aefdf6a6 Refactor 2024-04-13 17:30:32 +09:00
Rui Ueyama
60ce1aaf01 Improve a test
We want to make sure that absolute symbols in DSOs are dynamically
resolved.
2024-04-12 16:36:40 +09:00
Rui Ueyama
496e2f3eb3 Refactor 2024-04-11 14:26:37 +09:00
Rui Ueyama
93bae76f49 Update mold.1 (automated commit) 2024-04-10 07:04:37 +00:00
Rui Ueyama
7d17aa83eb Add --Bsymbolic-non-weak and --Bsymbolic-non-weak-functions
GNU ld doesn't support these options, but LLVM lld do.
2024-04-10 16:00:19 +09:00
Rui Ueyama
7835e45ded Update mold.1 (automated commit) 2024-04-10 05:28:22 +00:00
Rui Ueyama
0cf209002c Update the man page 2024-04-10 14:27:50 +09:00
Rui Ueyama
57f2260301 Update mold.1 (automated commit) 2024-04-09 12:24:04 +00:00
Rui Ueyama
76445ce73c Update the man page 2024-04-09 21:23:28 +09:00
Rui Ueyama
99a5b1541e Support -z start-stop-visibility=hidden
Fixes https://github.com/rui314/mold/issues/826
2024-04-08 13:11:15 +09:00
Rui Ueyama
d432e987a0 Ignore --long-plt option
Our ARM32 PLT is always long, so we can safely ignore the flag.

Fixes https://github.com/rui314/mold/issues/1230
2024-04-06 10:29:38 +09:00
Rui Ueyama
71457375e4 Simplify 2024-04-05 22:37:12 +09:00
Rui Ueyama
8dc311c2d2 Attempt to fix CI 2024-04-05 22:31:27 +09:00
Rui Ueyama
faa5e57913 Simplify 2024-04-05 21:08:57 +09:00
Rui Ueyama
4396784dbd Handle STT_COMMON as a synonym for STT_OBJECT 2024-04-05 20:33:13 +09:00
Rui Ueyama
81b714c4f3 Simplify 2024-04-03 15:29:14 +09:00
Rui Ueyama
cb739c62a9 Refactor 2024-04-01 23:59:08 +09:00
Rui Ueyama
58cfc6ba39 Make RISC-V build reproducible 2024-03-30 16:28:46 +09:00
Rui Ueyama
fafc315dac Simplify 2024-03-29 21:52:52 +09:00
Rui Ueyama
ffcd64792d Update mold.1 (automated commit) 2024-03-29 11:14:42 +00:00
Rui Ueyama
8c24b22b2d Update the man page 2024-03-29 18:03:20 +09:00
Rui Ueyama
6fe9bdc3db Simplify 2024-03-29 17:43:06 +09:00
Rui Ueyama
9d8b243e39 Keep symbols specified by --undefined-glob during garbage collection 2024-03-29 17:39:12 +09:00
Rui Ueyama
9884e19b7f Attempt to fix Windows bot 2024-03-29 17:39:12 +09:00
Rui Ueyama
5304a343e4 Simplify 2024-03-29 15:42:10 +09:00
Rui Ueyama
38e8f06def Use trap instructions instead of nop to fill gaps 2024-03-29 15:39:59 +09:00
Rui Ueyama
b93b85bcd5 Refactor 2024-03-29 12:38:57 +09:00
Rui Ueyama
587360662c Refactor 2024-03-29 11:25:36 +09:00
Rui Ueyama
95431aa7cf Do not run certain tests on qemu user-mode emulation
Fixes https://github.com/rui314/mold/pull/1206
2024-03-28 23:29:53 +09:00
Rui Ueyama
7de092df28 Remove dead code 2024-03-28 18:01:03 +09:00
Rui Ueyama
03b57c2655 Simplify 2024-03-28 17:47:28 +09:00
Rui Ueyama
a1c835b993 Support --undefined-glob option 2024-03-28 16:44:43 +09:00
Rui Ueyama
4ada2f52da Refactor 2024-03-28 16:25:21 +09:00
Rui Ueyama
9bb1a8207a
Update README.md 2024-03-28 13:08:53 +09:00
Rui Ueyama
a9e76295ff Simplify 2024-03-28 11:52:33 +09:00
Rui Ueyama
4e3364ddd3 Format 2024-03-27 18:42:55 +09:00
Rui Ueyama
6e5ae45c1a Disable test on ppc64le
Fixes https://github.com/rui314/mold/issues/1221
2024-03-27 16:27:37 +09:00
Rui Ueyama
11c9376a50 Fix tests for musl libc-based systems
Fixes https://github.com/rui314/mold/issues/1221
2024-03-27 16:27:37 +09:00
Rui Ueyama
b5f2a7b1ce Do not call do_lto() if all LTO input files are dead
Fixes https://github.com/rui314/mold/issues/1226
2024-03-27 15:27:52 +09:00
Rui Ueyama
3df7c8e89c Export __global_pointer$ from executable
RISC-V psABI requires that symbol to be exported from an executable
if there's a GP-relative reference. For simplicity, we always export
it from executable as long as it has a .dynamic section.

https://github.com/rui314/mold/issues/1222
2024-03-25 17:57:52 +09:00
Rui Ueyama
0edbe29d38 Simplify 2024-03-25 17:57:52 +09:00
Rui Ueyama
8df5a76203 Attempt to fix Windows CI 2024-03-25 17:57:52 +09:00
Rui Ueyama
32c4a09deb Fix file paths in .repro tar file
Previously, all pathnames were accidentally recorded as the name of
the tar file itself.

Fixes https://github.com/rui314/mold/issues/1227
2024-03-25 17:15:51 +09:00
Rui Ueyama
ee6907f678 Fix "skipping incompatible file" errors
https://github.com/rui314/mold/pull/1217
2024-03-25 14:52:54 +09:00
Rui Ueyama
03640029db Refactor 2024-03-21 15:03:45 +09:00
Rui Ueyama
7a65ed9082 Refactor 2024-03-21 11:00:13 +09:00
Rui Ueyama
b10f818106 Attempt to fix Windows build 2024-03-21 10:42:30 +09:00
Rui Ueyama
caad70dd6f Do not group mergeable sections in an output file
Runtime doesn't care where mergeable sections are, but it's reported
that Valgrind does. So, grouping mergeable sections just doesn't seem
to make sense.

https://github.com/rui314/mold/pull/1223
2024-03-20 22:15:05 +09:00
Rui Ueyama
6fe4f23074 Attempt to fix CI 2024-03-20 18:41:57 +09:00
Rui Ueyama
fd8fb73492 Refactor 2024-03-20 17:37:57 +09:00