1
1
mirror of https://github.com/rui314/mold.git synced 2024-09-22 10:27:48 +03:00
Commit Graph

67 Commits

Author SHA1 Message Date
Rui Ueyama
22ca6bc288 Ignore --verbose 2021-06-17 14:18:44 +09:00
Rui Ueyama
e7019ebf86 Add -z keep-text-section-prefix 2021-06-16 19:50:08 +09:00
Rui Ueyama
bc2ece0474 Fix --relocatable 2021-06-14 13:48:26 +09:00
Rui Ueyama
333843a33d Add --warn-unresolved-symbols and --error-unresolved-symbols 2021-06-14 00:04:07 +09:00
Rui Ueyama
9cc309af75 Implement --relocatable
Fixes https://github.com/rui314/mold/issues/46
2021-06-11 21:57:43 +09:00
Rui Ueyama
3324acafc5 Rename --icf to --icf=all for compatibility with lld and gold 2021-06-07 21:55:08 +09:00
Rui Ueyama
8bf21f9ea0 Report an error for unknown -z flags 2021-06-07 20:53:35 +09:00
Rui Ueyama
6d13fe2e7f Add -z muldefs as an alias to --allow-multiple-definition 2021-06-07 20:48:06 +09:00
Rui Ueyama
b9e1bd8117 Document --allow-multiple-definition option 2021-06-07 20:44:56 +09:00
Rui Ueyama
b5c68b465e Revert "Change the default build-id size from 20 to 16 bytes"
This reverts commit fe76210da6
because I misunderstood the actual default size of build-id
of the GNU linkers.
2021-06-04 12:32:28 +09:00
Rui Ueyama
3fb870c80b Add --compress-debug-info=zlib-gnu 2021-06-03 23:57:06 +09:00
Rui Ueyama
fe76210da6 Change the default build-id size from 20 to 16 bytes
GNU ld's default build-id size is 16.
2021-06-03 22:14:55 +09:00
Rui Ueyama
2a61e5af51 Format 2021-05-31 12:48:52 +09:00
Rui Ueyama
60fee59742 Ignore --no-undefined-version
Gentoo's sys-boot/efibootmgr package uses this flag.
2021-05-29 17:07:54 +09:00
Rui Ueyama
fbed89948c Add -R as an alias for -rpath
This change is required to build Gentoo dev-erlang/stringprep package.
2021-05-29 13:42:10 +09:00
Rui Ueyama
310980fb7e Add --retain-symbols-file 2021-05-27 00:31:08 +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
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
8dd0accc89 Do not exit immediately on --version 2021-05-23 18:22:20 +09:00
Rui Ueyama
9ec590f4e2 Update man page 2021-05-23 13:03:38 +09:00
Rui Ueyama
a0a94f4637 Add -wrap option 2021-05-22 01:54:08 +09:00
Rui Ueyama
b9ab55dfa7 Add --image-base 2021-05-21 18:37:38 +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
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
113316e7cc Simplify 2021-05-17 01:06:30 +09:00
Rui Ueyama
6fbedc5d14 Update man page 2021-05-16 15:54:45 +09:00
Rui Ueyama
4d3cc43d9f Ignore -nodefaultlibs 2021-05-10 19:23:32 +09:00
Rui Ueyama
76b0afc6b7 Add --omagic 2021-05-10 19:21:29 +09:00
Rui Ueyama
6014faec2a Add -V option 2021-05-10 16:53:16 +09:00
Rui Ueyama
eaf443581f Update --help message 2021-05-08 22:37:23 +09:00
Rui Ueyama
033834a28e Add --help 2021-05-08 20:10:41 +09:00
Rui Ueyama
13003d2479 Add --compress-debug-sections 2021-05-06 17:20:07 +09:00
Rui Ueyama
ebe6cca2e6 Create a .repro section if MOLD_REPRO environment variable is set 2021-05-02 20:49:00 +09:00
Rui Ueyama
d11c383147 Replace --reproduce with --repro 2021-05-02 20:49:00 +09:00
Rui Ueyama
09fc73a9f8 Add -spare-dynamic-tags 2021-04-11 15:43:23 +09:00
Rui Ueyama
f3ffb651fa wip 2021-04-11 13:16:11 +09:00
Rui Ueyama
4418c93f49 Add -z lazy 2021-04-10 23:04:33 +09:00
Rui Ueyama
0a62c5c5c6 Add -z interpose 2021-04-10 18:18:56 +09:00
Rui Ueyama
ef01e7d7ee Add -z initfirst 2021-04-10 18:16:01 +09:00
Rui Ueyama
c1665e8f27 wip 2021-04-09 18:59:54 +09:00
Rui Ueyama
c1f546984c wip 2021-04-09 18:50:24 +09:00
Rui Ueyama
410415543c wip 2021-04-09 17:18:02 +09:00
Rui Ueyama
82b2302696 wip 2021-04-09 10:52:49 +09:00
Rui Ueyama
b003b761db wip 2021-04-06 18:18:45 +09:00
Rui Ueyama
87dcaf097e wip 2021-04-05 22:24:46 +09:00
Rui Ueyama
1348da5c2f i386 2021-03-30 21:05:39 +09:00