1
1
mirror of https://github.com/rui314/mold.git synced 2024-08-16 08:20:23 +03:00
mold/third-party
Dan Cross bed5b1731b illumos: Treat absolute symbols specially
illumos is a descendent of Solaris/OpenSolaris, and treats
symbols with shndx=SHN_ABS and st_value=0 specially, such that
they should be marked imported.  This change adds a special
case for this behavior, wrapped up in a function that #ifdef's
out on other platforms.  With this patch, executables linked
with mold on illumos run; without it, they do not.

The original behavior was spotted by Luqman Aden (@luqmana).
This also patches a small bogon in the third-party `mimalloc`
code.  I've sent that same fix upstream, but so far the
maintainer has not resonded, so replicate here.

Fixes #1183

Signed-off-by: Dan Cross <cross@oxidecomputer.com>
2024-02-01 13:55:05 +00:00
..
blake3 Fix build issue for ARM32-on-ARM64 systems 2023-10-30 13:02:35 +09:00
mimalloc illumos: Treat absolute symbols specially 2024-02-01 13:55:05 +00:00
rust-demangle Update third-party/rust-demangle 2023-10-19 11:33:50 +09:00
tbb Upgrade OneTBB to version 2021.11.0 2023-12-02 12:34:16 +09:00
xxhash Update the bundled xxhash to v0.8.2 2023-07-21 19:28:46 +09:00
zlib Disable tests in the bundled zlib 2023-08-19 13:55:03 +09:00
zstd Upgrade bundled zstd to v1.5.5 2023-08-19 13:29:24 +09:00