diff options
-rw-r--r-- | main/musl/3001-s390x-add-bits-hwcap.h.patch | 36 | ||||
-rw-r--r-- | main/musl/APKBUILD | 4 |
2 files changed, 39 insertions, 1 deletions
diff --git a/main/musl/3001-s390x-add-bits-hwcap.h.patch b/main/musl/3001-s390x-add-bits-hwcap.h.patch new file mode 100644 index 0000000000..cde9978944 --- /dev/null +++ b/main/musl/3001-s390x-add-bits-hwcap.h.patch @@ -0,0 +1,36 @@ +From 84a4677797d5c6cfae949f963aafd2fb3260d67a Mon Sep 17 00:00:00 2001 +From: Szabolcs Nagy <nsz@port70.net> +Date: Tue, 29 Aug 2017 19:46:46 +0200 +Subject: [PATCH] s390x: add bits/hwcap.h + +based on linux arch/s390/include/asm/elf.h +(these macros should be exported into uapi, but they are not) +--- + arch/s390x/bits/hwcap.h | 15 +++++++++++++++ + 1 file changed, 15 insertions(+) + create mode 100644 arch/s390x/bits/hwcap.h + +diff --git a/arch/s390x/bits/hwcap.h b/arch/s390x/bits/hwcap.h +new file mode 100644 +index 00000000..ecc6ce1f +--- /dev/null ++++ b/arch/s390x/bits/hwcap.h +@@ -0,0 +1,15 @@ ++#define HWCAP_S390_ESAN3 1 ++#define HWCAP_S390_ZARCH 2 ++#define HWCAP_S390_STFLE 4 ++#define HWCAP_S390_MSA 8 ++#define HWCAP_S390_LDISP 16 ++#define HWCAP_S390_EIMM 32 ++#define HWCAP_S390_DFP 64 ++#define HWCAP_S390_HPAGE 128 ++#define HWCAP_S390_ETF3EH 256 ++#define HWCAP_S390_HIGH_GPRS 512 ++#define HWCAP_S390_TE 1024 ++#define HWCAP_S390_VXRS 2048 ++#define HWCAP_S390_VXRS_BCD 4096 ++#define HWCAP_S390_VXRS_EXT 8192 ++#define HWCAP_S390_GS 16384 +-- +2.14.1 + diff --git a/main/musl/APKBUILD b/main/musl/APKBUILD index e96032f207..2e0387943b 100644 --- a/main/musl/APKBUILD +++ b/main/musl/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Timo Teräs <timo.teras@iki.fi> pkgname=musl pkgver=1.1.16 -pkgrel=18 +pkgrel=19 pkgdesc="the musl c library (libc) implementation" url="http://www.musl-libc.org/" arch="all" @@ -78,6 +78,7 @@ source="http://www.musl-libc.org/releases/musl-$pkgver.tar.gz 1000-implement-strftime-GNU-extension-padding-specifiers-.patch 2000-pthread-internals-increase-DEFAULT_GUARD_SIZE-to-2-p.patch 2001-thread-do-not-attempt-to-join-detached-threads-in-pt.patch + 3001-s390x-add-bits-hwcap.h.patch ldconfig __stack_chk_fail_local.c @@ -262,6 +263,7 @@ dde4bb6c877d4fdf976e3ffea5d0a4a48f365708c488ceeaa4dcc29296820517aebbfa3b0527d74d 7e4c703e57a3564cd3ee1d5334b806cbe654355179ba55d4d25361dfc555eb4a7d081d80d64fdaff8476949afd04558d278b124d1fb108080beaa5ba2f8ce2b9 1000-implement-strftime-GNU-extension-padding-specifiers-.patch 2c8e1dde1834238097b2ee8a7bfb53471a0d9cff4a5e38b55f048b567deff1cdd47c170d0578a67b1a039f95a6c5fbb8cff369c75b6a3e4d7ed171e8e86ebb8c 2000-pthread-internals-increase-DEFAULT_GUARD_SIZE-to-2-p.patch 76330dfff60b2a8703ddc38f378995334ab0fa56e31e499937a4b4dfd8ff4a0bf1f8108174e8f863810de5cc28ff4c50656b886ee468605072bc55310a077624 2001-thread-do-not-attempt-to-join-detached-threads-in-pt.patch +9c87849e6a58f393aaf4fa7dca31a010a369d41b2f24cdde6af0303df0436e2ef2ca5b767b5584b93f5c9c98e200ac2a972688b8ce2838a5ff9b746982085bcb 3001-s390x-add-bits-hwcap.h.patch 8d3a2d5315fc56fee7da9abb8b89bb38c6046c33d154c10d168fb35bfde6b0cf9f13042a3bceee34daf091bc409d699223735dcf19f382eeee1f6be34154f26f ldconfig 062bb49fa54839010acd4af113e20f7263dde1c8a2ca359b5fb2661ef9ed9d84a0f7c3bc10c25dcfa10bb3c5a4874588dff636ac43d5dbb3d748d75400756d0b __stack_chk_fail_local.c 0d80f37b34a35e3d14b012257c50862dfeb9d2c81139ea2dfa101d981d093b009b9fa450ba27a708ac59377a48626971dfc58e20a3799084a65777a0c32cbc7d getconf.c |