package/musl: bump to version 1.2.0

Also:
 * Drop patch 0003 which is included in the new version.
 * Update hash value of the COPYRIGHT file as the copyright year was
   updated.

>From the release history [1]:

This release moves all 32-bit archs to 64-bit time_t, enabling them
to represent times beyond January of 2038.

There are no new requirements on kernel version, and this is not a
hard ABI break, but the type changes do impact compatibility between
code built against previous versions of musl and code built against
musl 1.2. Users upgrading 32-bit systems should read the detailed
time64 release notes [2]. 64-bit systems are not affected.

In addition, character data has been updated to align with Unicode
12.1.0, along with fixes for some errors in the data and a replacement
for inefficient and unmaintainable case-mapping code. Correctness of
results has been improved in the math library, particularly some complex
functions and 32-bit x86 asm. Various arch-specific bugs have also been
fixed.

[1] https://musl.libc.org/releases.html
[2] https://musl.libc.org/time64.html

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Jörg Krause 2020-02-26 23:03:48 +01:00 committed by Thomas Petazzoni
parent c19b5a39fc
commit c3012c3cc2
3 changed files with 4 additions and 58 deletions

View File

@ -1,54 +0,0 @@
From 329e79299daaa994b8e75941331a1093051ea5d9 Mon Sep 17 00:00:00 2001
From: Rich Felker <dalias@aerifal.cx>
Date: Tue, 4 Feb 2020 09:29:13 -0500
Subject: move riscv64 register index constants to signal.h
under _GNU_SOURCE for namespace cleanliness, analogous to other archs.
the original placement in sys/reg.h seems not to have been motivated;
such a header isn't even present on other implementations.
Downloaded from upstream commit
https://git.musl-libc.org/cgit/musl/commit/?id=329e79299daaa994b8e75941331a1093051ea5d9
Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
---
arch/riscv64/bits/reg.h | 6 ------
arch/riscv64/bits/signal.h | 9 +++++++++
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/arch/riscv64/bits/reg.h b/arch/riscv64/bits/reg.h
index c800788c..2633f39d 100644
--- a/arch/riscv64/bits/reg.h
+++ b/arch/riscv64/bits/reg.h
@@ -1,8 +1,2 @@
#undef __WORDSIZE
#define __WORDSIZE 64
-#define REG_PC 0
-#define REG_RA 1
-#define REG_SP 2
-#define REG_TP 4
-#define REG_S0 8
-#define REG_A0 10
diff --git a/arch/riscv64/bits/signal.h b/arch/riscv64/bits/signal.h
index 2ff4be30..b006334f 100644
--- a/arch/riscv64/bits/signal.h
+++ b/arch/riscv64/bits/signal.h
@@ -35,6 +35,15 @@ typedef struct mcontext_t {
union __riscv_mc_fp_state __fpregs;
} mcontext_t;
+#if defined(_GNU_SOURCE)
+#define REG_PC 0
+#define REG_RA 1
+#define REG_SP 2
+#define REG_TP 4
+#define REG_S0 8
+#define REG_A0 10
+#endif
+
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
typedef unsigned long greg_t;
typedef unsigned long gregset_t[32];
--
cgit v1.2.1

View File

@ -1,4 +1,4 @@
# Locally calculated after checking pgp signature from
# http://www.musl-libc.org/releases/musl-1.1.24.tar.gz.asc
sha256 1370c9a812b2cf2a7d92802510cca0058cc37e66a7bedd70051f0a34015022a3 musl-1.1.24.tar.gz
sha256 3520d478bccbdf68d9dc0c03984efb0fa4b99868ab2599f5b5f72f3fb3b07a49 COPYRIGHT
# https://musl.libc.org/releases/musl-1.2.0.tar.gz.asc
sha256 c6de7b191139142d3f9a7b5b702c9cae1b5ee6e7f57e582da9328629408fd4e8 musl-1.2.0.tar.gz
sha256 afe1df384787fce3577f3356b8b0d417381483f7c704eacb63f8050349fac77a COPYRIGHT

View File

@ -4,7 +4,7 @@
#
################################################################################
MUSL_VERSION = 1.1.24
MUSL_VERSION = 1.2.0
MUSL_SITE = http://www.musl-libc.org/releases
MUSL_LICENSE = MIT
MUSL_LICENSE_FILES = COPYRIGHT