1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-26 18:02:30 +03:00
Commit Graph

2395 Commits

Author SHA1 Message Date
Rui Ueyama
668b8cce42 Improve Gentoo test script 2021-05-27 19:38:34 +09:00
Rui Ueyama
215e7eda0a Rename GitHub workflow name 2021-05-27 16:25:59 +09:00
Rui Ueyama
de7ba9014f Add "GNU gold" to the --version string
The configure script in Gentoo's dev-libs/jansson-2.13.1-r1 package
treats mold 0.1.1 as GNU ld 0.1.1, which is from 1980s if existed.

Adding "GNU gold" to the help message solves the nasty issue, as the
configure script considers any version of GNU gold supports modern
features.
2021-05-27 15:24:30 +09:00
Rui Ueyama
a5294e88e2 Improve Gentoo test script 2021-05-27 12:12:08 +09:00
Rui Ueyama
310980fb7e Add --retain-symbols-file 2021-05-27 00:31:08 +09:00
Rui Ueyama
ca926e0ad9 Improve test script 2021-05-26 22:36:50 +09:00
Rui Ueyama
a4b23c7df5 Update a comment 2021-05-26 17:26:53 +09:00
Rui Ueyama
c58071ff1c Ignore -nostdlib 2021-05-26 17:18:26 +09:00
Rui Ueyama
a26586138e Fix the --help message 2021-05-26 01:31:17 +09:00
Rui Ueyama
be34b9c26f Remove an existing file if it is not statically-linked 2021-05-25 15:49:42 +09:00
Rui Ueyama
d00b65d0de Add strings to the --help message for autoconf
Gentoo's app-emulation/hercules package contains a configure script
that recognizes "supported targets" and "supported emulations" in
the --help message. Without them, mold is recognized as a linker that
does not support dynamic linking.
2021-05-25 15:48:25 +09:00
Rui Ueyama
712eab03d8 Add a script to build programs with mold using Docker 2021-05-25 15:41:51 +09:00
Rui Ueyama
1727e5bba2 Update man page 2021-05-24 14:43:59 +09:00
Rui Ueyama
3e7d81f0fc Limit make parallelism 2021-05-23 18:32:44 +09:00
Rui Ueyama
ec6e873329 Clean a temporary directory before running tests 2021-05-23 18:23:27 +09:00
Rui Ueyama
8dd0accc89 Do not exit immediately on --version 2021-05-23 18:22:20 +09:00
Rui Ueyama
3fab4ce3d2 Add missing dependencies 2021-05-23 16:20:55 +09:00
Rui Ueyama
729cfced1c Compile in parallel 2021-05-23 16:00:43 +09:00
Rui Ueyama
1e9f4abf33 Fix CI 2021-05-23 15:59:05 +09:00
Rui Ueyama
83026471f9 Update man page 2021-05-23 15:57:08 +09:00
Rui Ueyama
17c4e788e6
Create c-cpp.yml 2021-05-23 15:54:49 +09:00
Rui Ueyama
9ec590f4e2 Update man page 2021-05-23 13:03:38 +09:00
Rui Ueyama
9fcee2d5cf Simplify 2021-05-22 11:39:42 +09:00
Rui Ueyama
a0a94f4637 Add -wrap option 2021-05-22 01:54:08 +09:00
Rui Ueyama
4d2e97e4dc Update man page 2021-05-22 00:57:23 +09:00
Rui Ueyama
b9ab55dfa7 Add --image-base 2021-05-21 18:37:38 +09:00
Rui Ueyama
c4caec5bd5 Move .text.{hot,unknown,unlikely,startup,exit}. to a separate segment 2021-05-21 16:48:32 +09:00
Rui Ueyama
d279da3435 Enable -Wswitch 2021-05-21 16:06:47 +09:00
Rui Ueyama
17c191ccf2 Bump a verison number 2021-05-21 13:58:59 +09:00
Rui Ueyama
2e73024e18 Do not assume that the main directory is a git checkout 2021-05-21 13:58:59 +09:00
Rui Ueyama
a69f4c8b60 Exit immediately if a command fails 2021-05-21 12:50:11 +09:00
Rui Ueyama
ef0ebc0e93 Accept "tests" and "check" as aliases for "test" 2021-05-21 12:48:52 +09:00
Rui Ueyama
99abd52d6e Fix a broken test 2021-05-21 12:43:34 +09:00
Rui Ueyama
eb3cd2386a Update README 2021-05-21 12:38:16 +09:00
Rui Ueyama
b100f6a486 Add "mold: " prefix for all error and warning messages 2021-05-21 09:25:42 +09:00
Rui Ueyama
eb78d185f1 Automatically check out mimalloc repo 2021-05-21 09:25:42 +09:00
Rui Ueyama
513289582e Fix an assertion 2021-05-20 15:12:46 +09:00
Rui Ueyama
d01fbc4b2e Simplify 2021-05-20 15:02:13 +09:00
Rui Ueyama
02e6c6ab5d Make -run to intercept not only ld but also ld.lld and ld.gold 2021-05-20 14:14:35 +09:00
Rui Ueyama
a856d5526f Simplify 2021-05-19 23:59:37 +09:00
Rui Ueyama
0a8dcc1459 Improve i386 compatibility 2021-05-19 21:38:29 +09:00
Rui Ueyama
d055ab3563 Ignore -no-copy-dt-needed-entries 2021-05-19 11:52:39 +09:00
Rui Ueyama
16e335e939 Ignore -[no-]allow-shlib-undefined 2021-05-19 11:26:03 +09:00
Rui Ueyama
968cfd0dcd Simplify 2021-05-19 10:24:39 +09:00
Rui Ueyama
ebe37ef642 Include a version number to the --version message 2021-05-18 21:55:10 +09:00
Rui Ueyama
0f6c9ca2b8 Fix a compiler warning 2021-05-18 20:16:12 +09:00
Rui Ueyama
0cdac81166 Remove debug info from installed binaries 2021-05-18 20:11:35 +09:00
Rui Ueyama
30eb2b74c8 Remove runtime dependency to libxxhash.so 2021-05-18 19:29:15 +09:00
Rui Ueyama
effadb0296 Update build procedure 2021-05-18 16:57:54 +09:00
Rui Ueyama
394805d67b Make "make ASAN=1" work 2021-05-17 23:34:01 +09:00