Rui Ueyama
885b5c0e10
Fix possible unaligned accesses
2022-05-03 18:59:04 +08:00
Rui Ueyama
12cfddc611
Refactor
...
- Rename data types so that we have LittleEndian and BigEndian types.
- Do not assume that "base" integral types are aligned to 2 bytes
boundaries, because that doesn't make much difference in terms of
performance.
- Remove `pu8` type
2022-05-01 14:27:53 +08:00
Rui Ueyama
b26e1a3c32
Fix -Wc++-narrowing errors on a 32 bits host
2022-04-21 15:44:29 +08:00
Rui Ueyama
ba6347996b
[ELF] Implement a workaround for libbacktrace
...
This commit enables mold to work with libbacktrace before 2022-04-06.
https://github.com/rui314/mold/issues/402
2022-04-07 14:35:01 +08:00
Rui Ueyama
a151f4180f
Refactor
2022-04-07 14:21:49 +08:00
Rui Ueyama
3322ff6e7c
[ELF] Compress debug sections with level 1 instead of level 3
...
Debug sections are generally compressed pretty well with level 1,
so it is. Here is the comparison in lld: https://reviews.llvm.org/D70658
2022-01-24 11:40:07 +09:00
Rui Ueyama
32cdec42cb
[Mach-O] wip
2021-11-03 13:58:36 +09:00
Rui Ueyama
78bddacd5b
Move target-independent files to the top directory
2021-09-08 19:49:51 +09:00
Rui Ueyama
459b5973bb
Move code to elf
sub-directory
2021-09-02 23:16:49 +09:00
Rui Ueyama
fd391b03ef
Move everything into mold::elf namespace
2021-09-02 18:19:43 +09:00
Rui Ueyama
e855b90344
Show stacktrace on SEGV and assertion failure
2021-07-09 23:34:39 +09:00
Rui Ueyama
63b6d30876
Compress .repro section contents
...
Previously, .repro contains an uncompressed tar file containing all
input files. This patch compresses the contents in the gzip format.
2021-07-09 00:47:15 +09:00
Rui Ueyama
3fb870c80b
Add --compress-debug-info=zlib-gnu
2021-06-03 23:57:06 +09:00
Rui Ueyama
bfe55ca3f1
Update comment
2021-05-07 10:47:37 +09:00
Rui Ueyama
1c7be2a455
Update a comment
2021-05-07 02:03:31 +09:00
Rui Ueyama
d93ad61a60
Compress debug sections in parallel
2021-05-06 23:33:41 +09:00