Rui Ueyama
81cb2fab89
Refactor
2021-08-24 10:37:38 +00:00
Rui Ueyama
abc2ffc185
Refactor
2021-08-23 11:44:24 +09:00
Rui Ueyama
e855b90344
Show stacktrace on SEGV and assertion failure
2021-07-09 23:34:39 +09:00
Rui Ueyama
accf96877f
Add a stub for AArch64
...
It can generate an executable, but generated executable won't run
correctly because we don't process relocations at all yet.
2021-07-03 21:39:44 +09:00
Rui Ueyama
6432114e2a
Fix handling of --sysroot
...
Fixes https://github.com/rui314/mold/issues/59
2021-06-30 22:15:19 +09:00
Nehal J Wani
25f8d01ca5
Ignore --no-add-needed
...
Resolves https://github.com/rui314/mold/issues/53
Signed-off-by: Nehal J Wani <nehaljw.kkd1@gmail.com>
2021-06-25 20:29:24 -04:00
Rui Ueyama
4787363651
Ignore --warn-constructors
...
This is needed by Gentoo's sys-apps/memtest86-4.3.7-r2 package.
2021-06-24 19:54:43 +09:00
Rui Ueyama
00c907158c
Ignore -z {no,}combreloc
...
This is needed by Gentoo's sys-boot/refind-0.12.0-r1 package.
2021-06-24 19:24:00 +09:00
Rui Ueyama
fd1855a67b
Make --version to exit immediately
...
This is needed by Gentoo's dev-lang/spidermonkey-78.10.1 package,
as its configure script assumes that the linker exit normally
even if extra options are given after `--version`.
2021-06-24 16:45:04 +09:00
Rui Ueyama
04dcfe2ae3
Ignore -warn-once
...
This is needed by Gentoo's dev-embedded/gputils-1.5.0 package.
2021-06-21 09:44:09 +09:00
Rui Ueyama
1bac9c7b8d
Add -z nodump
...
This is needed by Gentoo's sci-libs/indilib-1.8.9 package.
2021-06-21 06:56:07 +09:00
Rui Ueyama
4f92d7f19b
Add -z origin
...
This is needed by Gentoo's dev-ada/gnatcoll-bindings-2020-r1 package.
2021-06-20 14:42:43 +09:00
Rui Ueyama
b21ade127c
Simplify
2021-06-20 00:51:38 +09:00
Rui Ueyama
a0ecd0c8dc
Add --unique=PATTERN
...
This is needed by Gentoo's sys-fabric/infinipath-psm-3.2 package.
2021-06-19 01:09:26 +09:00
Rui Ueyama
bd858faf94
Add --unresolved-symbols
...
This is needed by Gentoo's dev-libs/wayland-protocols-1.21 package.
2021-06-18 15:51:57 +09:00
Rui Ueyama
e88dddb820
Add -z {text,notext,textoff]
2021-06-17 14:18:44 +09:00
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