mirror of
https://github.com/rui314/mold.git
synced 2024-09-11 13:06:59 +03:00
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> |
||
---|---|---|
.. | ||
blake3 | ||
mimalloc | ||
rust-demangle | ||
tbb | ||
xxhash | ||
zlib | ||
zstd |