Commit Graph

17 Commits

Author SHA1 Message Date
Keith Packard
7e39f11421 picolibc: Bump to 1.8.1
New upstream version.

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-04-19 15:13:55 +12:00
Bryan Hundven
691b1c5d7f
Merge pull request #1875 from keith-packard/picolibc-1.8
Update picolibc to 1.8
2023-01-16 11:10:44 -08:00
Keith Packard
b085e00fe2 Update picolibc to 1.8
Signed-off-by: Keith Packard <keithp@keithp.com>
2022-12-23 12:06:43 -08:00
Joakim Nohlgård
b8e49869ba packages: Update picolibc to 1.7.9
Signed-off-by: Joakim Nohlgård <joakim@nohlgard.se>
2022-11-22 14:07:46 +13:00
Keith Packard
d3acee9673 packages: Update picolibc to 1.7.8
Signed-off-by: Keith Packard <keithp@keithp.com>
2022-08-19 22:02:50 +12:00
Keith Packard
6ddf9e8dbf Update picolibc to 1.7.6
* Fixes 1.7.4 issue with recent meson versions which error on
  'descrption' typo.

* Positional parameters (%$1d) in printf/scanf

* Lots (and lots) of math library exception/errno fixes; now tested against
  glibc test suite.

Signed-off-by: Keith Packard <keithp@keithp.com>
2022-04-02 13:31:28 +13:00
Alexey Neyman
86c2982568 Run patches thru manage-packages -P
This refreshes the line numbers, removes any fuzz (which would make any
future forward ports easier) and standardizes the patch/file headers
(which makes them easier to read).

Signed-off-by: Alexey Neyman <stilor@att.net>
2022-02-11 00:47:51 -08:00
Bensuperpc
ea79ce7bf4 Update picolibc to 1.7.4
Update picolibc to 1.7.4

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-11-22 20:10:26 +13:00
Keith Packard
25f6dae85e Switch picolibc to 1.7.3
Signed-off-by: Keith Packard <keithp@keithp.com>
2021-10-20 19:36:31 +13:00
Keith Packard
a35d909459 picolibc: Add support for version 1.7.1
Since 1.6.2, picolibc has had two releases - 1.7 and 1.7.1. Here are
the release notes from those versions.

 1. Add __cxa_atexit implementation to 'picoexit' path as required by
    C++

 2. Fix lack of 'hh' support in integer-only tinystdio printf path.

 3. Fix tinystdio __file flag initialization for C++ apps

 1. Merge libc and libm into a single library. Having them split
    doesn't offer any advantages while requiring that applications add
    '-lm' to link successfully. Having them merged allows use of libm
    calls from libc code.

 2. Add hex float format to *printf, *scanf and strto{d,f,ld}. This is
    required for C99 support.

 3. Unify strto{d,f,ld} and *scanf floating point parsing code. This
    ensures that the library is consistent in how floats are parsed.

 4. Make strto{d,f,ld} set errno to ERANGE on overflow/underflow,
    including when the result is a subnormal number.

Signed-off-by: Keith Packard <keithp@keithp.com>
2021-07-13 11:18:47 -07:00
Keith Packard
db061bdf2b packages/picolibc: Add version 1.6.2
Signed-off-by: Keith Packard <keithp@keithp.com>
2021-06-17 10:30:25 -07:00
Keith Packard
3e259dbaf8 Switch to picolibc version 1.5.1
This version includes a small link fix for the sample crt0 on riscv.

Signed-off-by: Keith Packard <keithp@keithp.com>
2021-06-17 10:30:25 -07:00
Keith Packard
c74d1d6534 picolibc: Add version 1.5
Signed-off-by: Keith Packard <keithp@keithp.com>
2021-01-11 23:29:01 -08:00
Keith Packard
f7c033cd10 picolibc: Pull compatibility patches from upstream
1. Allows picolibc's stdio to be used with c++ applications
 2. Includes arm exception information in link rules
 3. Adds picolibc include directory to c++ header paths.

These patches are all upstream in picolibc and included in version
1.5.

Signed-off-by: Keith Packard <keithp@keithp.com>
2021-01-08 17:48:33 -08:00
Keith Packard
e785f7c5c4 picolibc: Pull tarballs from github instead of keithp.com
Way more bandwidth at github.

Signed-off-by: Keith Packard <keithp@keithp.com>
2021-01-07 18:26:08 -08:00
Keith Packard
c14b7c6cfc packages/picolibc: Update to version 1.4.7
New picolibc release has some useful bug fixes

Signed-off-by: Keith Packard <keithp@keithp.com>
2020-10-26 19:37:56 -07:00
Keith Packard
c15de32ec6 Add picolibc support [v2]
This adds support for using picolibc instead of newlib on embedded
systems.

Signed-off-by: Keith Packard <keithp@keithp.com>

v2:
	Add check for meson and ninja
	Sync option default values with current picolibc defaults
	Remove xtensa sys header file install as those aren't in picolibc
2020-09-01 09:42:53 -07:00