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

23 Commits

Author SHA1 Message Date
Rui Ueyama
4e2b6fd315 Handle thin archives containing absolute paths 2021-06-17 14:18:44 +09:00
Rui Ueyama
bc2ece0474 Fix --relocatable 2021-06-14 13:48:26 +09:00
Rui Ueyama
9fc6050f41 Simplify 2021-06-07 23:36:05 +09:00
Jim Ye
9c304f74d3
Fix string ctor param from strstr
When using the (begin, end) constructor for string, the types of begin
and end must match, including cv qualifiers. Depending on the library
headers used, strstr(const char *, const char *) can potentially return
char * or const char *, the former being a call to the C function strstr
and the latter being a call to C++ std::strstr.

This commit fixes the clang portion of issue #21, by explicitly casting
the return value of strstr to match the 1st param of the string ctor so
that the ctor can be instantiated regardless of the header used.

Signed-off-by: Jim Ye <gjimye@gmail.com>
2021-06-05 02:01:18 +10:00
Rui Ueyama
257ae1a98b Avoid unnecessary string allocations 2021-06-01 15:19:50 +09:00
Rui Ueyama
48ccc2adde Make mold AddressSanitizer clean 2021-04-07 18:41:42 +09:00
Rui Ueyama
1348da5c2f i386 2021-03-30 21:05:39 +09:00
Rui Ueyama
5dd05216be wip 2021-03-30 14:58:20 +09:00
Rui Ueyama
1a1a558716 wip 2021-03-29 20:49:02 +09:00
Rui Ueyama
8963b5632c wip 2021-03-29 17:36:56 +09:00
Rui Ueyama
8f74992248 Make it work for Rust 2021-03-23 16:38:26 +09:00
Rui Ueyama
120524f898 Ignore trailing one byte padding in an archive file 2021-03-23 15:57:54 +09:00
Rui Ueyama
069e2fe7a8 wip 2021-03-12 14:07:42 +09:00
Rui Ueyama
b53392c2f7 Add -exclude-libs 2021-03-08 17:24:51 +09:00
Rui Ueyama
b0b5dee8bb temporary 2021-01-14 00:49:01 +09:00
Rui Ueyama
ea37097f95 temporary 2021-01-09 11:43:31 +09:00
Rui Ueyama
a72996c273 temporary 2020-12-22 20:10:04 +09:00
Rui Ueyama
43c9f34350 temporary 2020-12-22 18:33:16 +09:00
Rui Ueyama
b7b6eada15 temporary 2020-12-22 18:22:53 +09:00
Rui Ueyama
8a692c7fc6 temporary 2020-12-22 16:33:44 +09:00
Rui Ueyama
221804a046 Revert "Paralell file open"
This reverts commit df8eda9d81.
2020-12-19 18:31:46 +09:00
Rui Ueyama
df8eda9d81 Paralell file open 2020-12-19 18:31:37 +09:00
Rui Ueyama
0c59453741 temporary 2020-12-13 21:06:25 +09:00