1
1
mirror of https://github.com/rui314/mold.git synced 2024-09-21 09:57:18 +03:00
Commit Graph

3088 Commits

Author SHA1 Message Date
Rui Ueyama
3fba4dabd6 [Mach-O] wip 2021-10-28 18:43:38 +09:00
Rui Ueyama
d3ef7e754d [Mach-O] wip 2021-10-28 18:43:38 +09:00
Rui Ueyama
4c60f05ca5 [Mach-O] wip 2021-10-28 18:43:38 +09:00
Rui Ueyama
e1909a541f [Mach-O] wip 2021-10-28 18:43:38 +09:00
Rui Ueyama
b1440067cc Fix indentation 2021-10-28 15:50:31 +09:00
Rui Ueyama
58f6502a1c [Mach-O] Add static archive file support 2021-10-28 14:37:18 +09:00
Rui Ueyama
9973e51b92 [Mach-O] wip 2021-10-28 14:37:18 +09:00
Rui Ueyama
30dd7b0230
Merge pull request #125 from Calinou/improve-readme
Add installation instructions for Fedora and improve README
2021-10-28 12:15:22 +09:00
Hugo Locurcio
bfc43ef52b
Add installation instructions for Fedora and improve README
Fedora dependencies were tested in a fresh Fedora 34 Docker container.

- Use all available CPU threads to speed up compilation.
- Add `sudo make install` step to make the mold binary available
  system-wide.
- List Ubuntu instructions as compatible with Debian 11 (tested
  in a fresh Docker container).
- Reorder the list of dependencies to be consistent between Ubuntu
  and Fedora.
- Don't use a `$` prefix for commands to make copy-pasting easier.
- Fix warnings reported by markdownlint.

Signed-off-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-10-28 02:47:40 +02:00
Rui Ueyama
495df9ea00 Change the default install PREFIX from /usr to /usr/local
If not specified, `make install` usually installs binaries to /usr/local.
It's nice to follow that convention.

Fixes https://github.com/rui314/mold/issues/124
2021-10-28 08:06:37 +09:00
Rui Ueyama
4bf1ba34f6 Fix build breakage 2021-10-27 21:53:23 +09:00
Rui Ueyama
7236d14650 [Mach-O] Report errors for remaining undefined symbols 2021-10-27 21:46:57 +09:00
Rui Ueyama
04fcb66580 [Mach-O] wip 2021-10-27 21:24:00 +09:00
Rui Ueyama
6b02b3d9aa [Mach-O] Ignore -no_deduplicate 2021-10-27 21:15:34 +09:00
Rui Ueyama
6a83705a68 [Mach-O] wip 2021-10-27 21:11:02 +09:00
Rui Ueyama
2ec3b16ffd [Mach-O] wip 2021-10-27 21:04:52 +09:00
Rui Ueyama
0bdb744918 [Mach-O] wip 2021-10-27 20:27:18 +09:00
Rui Ueyama
cd3726b394 [Mach-O] wip 2021-10-27 20:12:54 +09:00
Rui Ueyama
6cdfd45134 [Mach-O] Create GOT entries for internal references 2021-10-27 15:57:31 +09:00
Rui Ueyama
5549a005f1 [Mach-O] Create GOT entries for external references 2021-10-26 17:44:57 +09:00
Rui Ueyama
5837fe75eb [Mach-O] wip 2021-10-26 16:38:44 +09:00
Rui Ueyama
d7fb95fa63 [Mach-O] wip 2021-10-26 15:26:08 +09:00
Rui Ueyama
8471f47abb [Mach-O] wip 2021-10-26 15:24:23 +09:00
Rui Ueyama
48e7616263 [Mach-O] Add the -platform_version option 2021-10-26 15:14:14 +09:00
Rui Ueyama
2589190724 [Mach-O] wip 2021-10-26 15:04:02 +09:00
Rui Ueyama
e12055de49 [Mach-O] wip 2021-10-26 14:21:37 +09:00
Rui Ueyama
986516545a [ELF] Do not share OutputFile between ELF and Mach-O 2021-10-26 14:06:11 +09:00
Rui Ueyama
ee0ee2375d [Mach-O] wip 2021-10-26 13:53:48 +09:00
Rui Ueyama
ed2a7ba1ed [Mach-O] wip 2021-10-26 13:43:04 +09:00
Rui Ueyama
07bf64d9cb [Mach-O] wip 2021-10-26 13:39:41 +09:00
Rui Ueyama
d6657a3cb0 [Mach-O] Add the -headerpad option 2021-10-25 20:14:52 +09:00
Rui Ueyama
5817265e91 [Mach-O] Fix ASAN issue 2021-10-25 20:14:32 +09:00
Rui Ueyama
a86ad2771a [Mach-O] Use clang as a linker frontend
Now that we can link a "hello world" program on macOS, we can
use clang as a linker frontend.
2021-10-25 19:09:18 +09:00
Rui Ueyama
31e49a08a0 [Mach-O] wip 2021-10-25 15:47:02 +09:00
Rui Ueyama
2e07e62ffd [Mach-O] wip 2021-10-25 15:46:40 +09:00
Rui Ueyama
638bcfe311 [Mach-O] wip 2021-10-25 15:35:09 +09:00
Rui Ueyama
5450debfce [Mach-O] wip 2021-10-25 15:31:03 +09:00
Rui Ueyama
948f4d2605 [Mach-O] wip 2021-10-25 15:05:25 +09:00
Rui Ueyama
cb9d159738 [Mach-O] wip 2021-10-25 15:00:45 +09:00
Rui Ueyama
53fe663791 [Mach-O] wip 2021-10-25 01:12:42 +09:00
Rui Ueyama
e7f465bf16 [Mach-O] wip 2021-10-24 22:13:06 +09:00
Rui Ueyama
5c8481f1ca [Mach-O] wip 2021-10-24 22:02:02 +09:00
Rui Ueyama
2e92fe2e2a [Mach-O] wip 2021-10-24 22:01:03 +09:00
Rui Ueyama
9d81e7e1a3 [Mach-O] wip 2021-10-24 20:54:26 +09:00
Rui Ueyama
78ff2bb73a [Mach-O] wip 2021-10-24 17:00:53 +09:00
Rui Ueyama
31373b1d6d [Mach-O] wip 2021-10-24 13:34:36 +09:00
Rui Ueyama
c56a83c405 [Mach-O] wip 2021-10-24 12:57:54 +09:00
Rui Ueyama
94cda25277 [Mach-O] wip 2021-10-24 00:42:39 +09:00
Rui Ueyama
b3528e0aee [Mach-O] wip 2021-10-24 00:27:27 +09:00
Rui Ueyama
ecf17abfd3 [Mach-O] wip 2021-10-24 00:18:00 +09:00