mold: update to 2.32.0
This commit is contained in:
parent
4dbbed9c12
commit
5329c6a136
|
@ -1,18 +0,0 @@
|
|||
Only use yield on ARM architectures that support it. Will be in next release. Taken from:
|
||||
https://github.com/rui314/mold/commit/f0f61cc7ad482672a73d3bb4778430c65f01e237
|
||||
https://github.com/rui314/mold/commit/4510f4af81e65544fcd02826f253d3dc9e7fae9e
|
||||
diff --git a/common/common.h b/common/common.h
|
||||
index c9820877789..a9a52d6c5fb 100644
|
||||
--- a/common/common.h
|
||||
+++ b/common/common.h
|
||||
@@ -526,7 +526,9 @@ inline bool remove_prefix(std::string_view &s, std::string_view prefix) {
|
||||
static inline void pause() {
|
||||
#if defined(__x86_64__)
|
||||
asm volatile("pause");
|
||||
-#elif defined(__arm__) || defined(__aarch64__)
|
||||
+#elif defined(__aarch64__)
|
||||
+ asm volatile("yield");
|
||||
+#elif defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_8A__)
|
||||
asm volatile("yield");
|
||||
#endif
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'mold'
|
||||
pkgname=mold
|
||||
version=2.31.0
|
||||
version=2.32.0
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DMOLD_USE_SYSTEM_MIMALLOC=ON -DMOLD_USE_SYSTEM_TBB=ON"
|
||||
|
@ -14,7 +14,7 @@ license="MIT"
|
|||
homepage="https://github.com/rui314/mold"
|
||||
changelog="https://github.com/rui314/mold/releases"
|
||||
distfiles="https://github.com/rui314/mold/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=3dc3af83a5d22a4b29971bfad17261851d426961c665480e2ca294e5c74aa1e5
|
||||
checksum=4b7e4146ea0f52be9adae8b417399f3676a041e65b55e3f25f088120d30a320b
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Reference in New Issue