/picolibc-latest/.github/workflows/ |
D | linux.yml | 3 on: 6 - main 9 - main 14 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} 15 cancel-in-progress: true 22 IMAGE_FILE: dockerimg-linux.tar.zst 23 IMAGE: picolibc-linux 24 PACKAGES_FILE: picolibc/.github/linux-packages.txt 25 EXTRA_FILE: picolibc/.github/linux-files.txt 28 cache-maker: [all …]
|
D | zephyr.yml | 3 on: 6 - main 9 - main 14 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} 15 cancel-in-progress: true 18 # .github/do-zephyr --buildtype release 22 DOCKERFILE: picolibc/.github/Dockerfile-zephyr 23 IMAGE_FILE: dockerimg-zephyr.tar.zst 25 PACKAGES_FILE: picolibc/.github/zephyr-packages.txt 26 EXTRA_FILE: picolibc/.github/zephyr-files.txt [all …]
|
D | variants-cmake | 1 needs: cache-maker 2 runs-on: ubuntu-latest 8 …-D__IO_FLOAT=y -D_IO_FLOAT_EXACT=n -D_WANT_IO_LONG_LONG=y -D_MB_CAPABLE=y -D_WANT_IO_POS_ARGS=y -D…
|
D | variants | 1 needs: cache-maker 2 runs-on: ubuntu-latest 9 …-Dio-float-exact=false -Dio-long-long=true -Dio-percent-b=true -Dio-long-double=true -Dnewlib-obso… 10 …"-Dformat-default=integer -Dfreestanding=true -Dposix-io=false -Dnewlib-obsolete-math=true -Dwant-… 13 "-Dtinystdio=false", 14 …-Dtinystdio=false -Dnewlib-io-float=true -Dio-long-long=true -Dio-long-double=true -Dnewlib-fvwrit…
|
D | head | 3 on: 6 - main 9 - main 14 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} 15 cancel-in-progress: true 22 IMAGE_FILE: dockerimg-linux.tar.zst 23 IMAGE: picolibc-linux 24 PACKAGES_FILE: picolibc/.github/linux-packages.txt 25 EXTRA_FILE: picolibc/.github/linux-files.txt 28 cache-maker: [all …]
|
D | head-zephyr | 3 on: 6 - main 9 - main 14 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} 15 cancel-in-progress: true 18 # .github/do-zephyr --buildtype release 22 DOCKERFILE: picolibc/.github/Dockerfile-zephyr 23 IMAGE_FILE: dockerimg-zephyr.tar.zst 25 PACKAGES_FILE: picolibc/.github/zephyr-packages.txt 26 EXTRA_FILE: picolibc/.github/zephyr-files.txt [all …]
|
/picolibc-latest/newlib/libc/stdlib/ |
D | srandom.c | 4 <<random>>, <<srandom>>---pseudo-random numbers 23 The algorithm depends on a static variable called the ``random seed''; 29 exploit this to make the pseudo-random sequence less predictable, if 31 significant parts of a time-varying value) as the random seed before 33 (for example, while debugging) that successive runs of your program 38 <<random>> returns the next pseudo-random integer in sequence; it is a 44 <<random>> and <<srandom>> are unsafe for multi-threaded applications.
|
D | srand.c | 7 <<rand>>, <<srand>>---pseudo-random numbers 26 The algorithm depends on a static variable called the ``random seed''; 32 exploit this to make the pseudo-random sequence less predictable, if 34 significant parts of a time-varying value) as the random seed before 36 (for example, while debugging) that successive runs of your program 41 <<rand>> returns the next pseudo-random integer in sequence; it is a 47 <<rand>> and <<srand>> are unsafe for multi-threaded applications. 48 <<rand_r>> is thread-safe and should be used instead. 52 <<rand>> is required by ANSI, but the algorithm for pseudo-random 55 on two different systems.
|
D | rand.c | 7 <<rand>>, <<srand>>---pseudo-random numbers 26 The algorithm depends on a static variable called the ``random seed''; 32 exploit this to make the pseudo-random sequence less predictable, if 34 significant parts of a time-varying value) as the random seed before 36 (for example, while debugging) that successive runs of your program 41 <<rand>> returns the next pseudo-random integer in sequence; it is a 47 <<rand>> and <<srand>> are unsafe for multi-threaded applications. 48 <<rand_r>> is thread-safe and should be used instead. 52 <<rand>> is required by ANSI, but the algorithm for pseudo-random 55 on two different systems.
|
D | random.c | 4 <<random>>, <<srandom>>---pseudo-random numbers 23 The algorithm depends on a static variable called the ``random seed''; 29 exploit this to make the pseudo-random sequence less predictable, if 31 significant parts of a time-varying value) as the random seed before 33 (for example, while debugging) that successive runs of your program 38 <<random>> returns the next pseudo-random integer in sequence; it is a 44 <<random>> and <<srandom>> are unsafe for multi-threaded applications. 65 Edition, Addison-Wesley, 1998, p. 106 (line 26) & p. 108 */ in random()
|
D | mallocr.c | 8 /* ---------- To make a malloc.h, start cutting here ------------ */ 28 This is not the fastest, most space-conserving, most portable, or 30 while also being among the most space-conserving, portable and tunable. 31 Consistent balance across these factors results in a good general-purpose 32 allocator. For a high-level description, see 50 size argument of zero (re)allocates a minimum-sized chunk. 60 Equivalent to valloc(minimum-page-that-holds(n)), that is, 68 Release all but pad bytes of freed top-most memory back 75 Prints brief summary statistics on stderr. 84 Alignment: 8-byte [all …]
|
/picolibc-latest/doc/ |
D | releasing.md | 6 1. Make sure the current code builds on all supported architectures: 9 ** 32-bit x86 10 ** RISC-V 11 ** ARM 32-bit 12 ** ARM 64-bit (aarch64) 15 2. Test on architectures that can do so 18 * 64-bit x86 19 * 32-bit x86 20 * RISC-V, all targets (qemu) 21 * ARM 32-bit, almost all targets (qemu) [all …]
|
D | using.md | 23 the users have everything in place. But some third-party toolchains 25 it is not possible as these headers have compiler-specific parts and 38 $ gcc --specs=picolibc.specs -c foo.c 45 $ gcc --specs=/usr/local/picolibc/picolibc.specs -c foo.c 48 longer name for the compiler, something like `riscv-unknown-elf-gcc` 49 or `arm-none-eabi-gcc`. 54 hardware, run-time, library and application setup. You may want to 62 default when using -specs=picolibc.specs: 64 $ gcc -specs=picolibc.specs -o foo.elf foo.c 69 1) Architecture-specific runtime initialization. For instance, RISC-V [all …]
|
/picolibc-latest/picocrt/ |
D | crt0.h | 2 * SPDX-License-Identifier: BSD-3-Clause 30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 53 #define __data_size (__data_end - __data_start) 54 #define __bss_size (__bss_end - __bss_start) 57 /* These two functions must be defined in the architecture-specific 72 /* After the architecture-specific chip initialization is done, this 76 * initializes both. Then it runs the application code, starting with 115 while (*c && argc < ARGV_LEN - 1) { in __start() 126 argv[argc++] = "program-name"; in __start()
|
/picolibc-latest/picocrt/machine/aarch64/ |
D | crt0.c | 2 * SPDX-License-Identifier: BSD-3-Clause 30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 53 #pragma GCC diagnostic ignored "-Warray-bounds" 58 __asm__ volatile("msr tpidr_el0, %x0" : : "r" (tls - TP_OFFSET)); in _set_tls() 65 * which runs from 0x00000000 to 0x7fffffff along with the usual 66 * Device space which runs from 0x80000000 to 0xffffffff. However, 200 * and write-implies-XN in _cstart() 250 unsigned digitval = 0xF & (reg >> (60 - 4*i)); in aarch64_fault_write_reg() 251 char digitchr = '0' + digitval + (digitval >= 10 ? 'a'-'0'-10 : 0); in aarch64_fault_write_reg() 287 aarch64_fault_write_reg(prefix, f->x[r]); in aarch64_fault() [all …]
|
/picolibc-latest/picocrt/machine/arm/ |
D | crt0.c | 2 * SPDX-License-Identifier: BSD-3-Clause 30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 42 * Cortex-mM includes an NVIC and starts with SP initialized, so start 60 * MVE is used. This is described in "Arm v8-M Architecture Reference in _start() 73 * a valid value for 8.1-m low overhead loops. */ in _start() 104 * which runs from 0x00000000 to 0x7fffffff along with the usual 105 * Device space which runs from 0x80000000 to 0xffffffff. 111 /* Bits within a short-form section PTE (1MB mapping) */ 212 * Regular ARM has an 8-entry exception vector and starts without SP 329 unsigned digitval = 0xF & (reg >> (28 - 4*i)); in arm_fault_write_reg() [all …]
|
/picolibc-latest/newlib/libc/stdio/ |
D | mktemp.c | 26 <<mkostemps>>---generate unused file name 27 <<mkdtemp>>---generate unused directory 78 as <<O_CLOEXEC>>, <<O_APPEND>>, or <<O_SYNC>>. On platforms with a 111 filename; in that case, it returns <<-1>>. 160 if (trv - path < (ptrdiff_t) suffixlen) in _gettemp() 165 trv -= suffixlen; in _gettemp() 167 while (path < trv && *--trv == 'X') in _gettemp() 172 if (end - trv < 6) in _gettemp() 180 * doesn't exist this runs for a *very* long time. in _gettemp() 183 for (start = trv + 1;; --trv) in _gettemp() [all …]
|
/picolibc-latest/newlib/libc/machine/arc64/ |
D | strcmp.S | 25 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 162 ; Using 128-bit memory operations 169 ; The 64-bit crunching implementation. 263 ;; One important thing to note, is that we look for the first byte difference on 271 ;; Details on this technique can be found in: 276 ; DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080) [0] 289 ; registers into the ones we will operate on [2]. We can safely directly move 316 ; the zero flag. As there can be that no NULL byte is present on one or both 343 ; an extra branch in all runs
|
/picolibc-latest/ |
D | COPYING.GPL2 | 5 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 14 software--to make sure the software is free for all its users. This 45 software. If the software is modified by someone else and passed on, we 47 that any problems introduced by others will not reflect on the original 65 refers to any such program or work, and a "work based on the Program" 75 is covered only if its contents constitute a work based on the 77 Whether that is true depends on what the Program does. 81 conspicuously and appropriately publish on each copy an appropriate 91 of it, thus forming a work based on the Program, and copy and 111 does not normally print such an announcement, your work based on [all …]
|
D | README.md | 2 Copyright © 2018-2023 Keith Packard 7 [AVR Libc](https://www.nongnu.org/avr-libc/). 19 from Newlib, none of the GPL-related bits used to build the library 20 are left in the repository, so all of the source code uses BSD-like 21 licenses, a mixture of 2- and 3- clause BSD itself and a variety of 24 There are two files used for testing printf, test/printf-tests.c and 32 license information in the Debian standard machine-readable format. It 33 was generated using the make-copyrights and find-copyright 41 * ARC (32- and 64- bit) 42 * ARM (32- and 64- bit) [all …]
|
/picolibc-latest/newlib/ |
D | HOWTO | 2 For information on using Newlib (building, installing), see README. (In 7 initially-provided sections. Please help by adding as appropriate.) 12 All the documentation for Newlib comes as part of the machine-readable 22 The basic function of makedoc is two-fold. First, it recognizes comments in 26 (makedoc.c is not particularly-well commented.) Another way to see how they 30 libm/common/s_isnan.c ("o+" variable-"bullet" list), 35 produce both on-line information and a printed manual. You can use one of the 36 Info formatting commands to create the on-line version of the documentation 47 when a non-printed manual is produced--such as when info pages are produced. 65 1. Add properly-formatted comments to source file (e.g. src.c); [all …]
|
D | README | 1 README for newlib-4.2.0 release 2 (mostly cribbed from the README in the gdb-4.13 release) 7 Prior to the 3.0.0 release, newlib supported both ANSI and K&R-style 20 Unpacking and Installation -- quick overview 23 When you unpack the newlib-4.2.0.tar.gz file, you'll find a directory 24 called `newlib-4.2.0', which contains many files. Interesting ones: 25 COPYING* - License files for the sources 26 README - A common overview of all GNU development projects 27 configure - The build script for configuring the source tree 28 Makefile* - Inputs used by configure to generate the Makefile [all …]
|
D | ChangeLog-2015 | 1 2015-12-21 Freddie Chopin <freddie.chopin@gmail.com> 6 2015-12-21 Freddie Chopin <freddie.chopin@gmail.com> 12 _on_exit_args_ptr field of _GLOBAL_ATEXIT on first run. 17 2015-12-17 Anton Kolesov <Anton.Kolesov@synopsys.com> 20 * libc/machine/arc/memcmp-bs-norm.S: Use new GCC defines to detect 23 * libc/machine/arc/memcpy-archs.S: Likewise. 24 * libc/machine/arc/memcpy-bs.S: Likewise. 25 * libc/machine/arc/memcpy.S: Likewise. * libc/machine/arc/memset-archs.S: Likewise. 26 * libc/machine/arc/memset-archs.S: Likewise. 27 * libc/machine/arc/memset-bs.S: Likewise. [all …]
|
/picolibc-latest/newlib/libc/tinystdio/ |
D | vfscanf.c | 27 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 33 /* $Id: vfscanf.c 2191 2010-11-05 13:45:57Z arcanum $ */ 51 /* Figure out which multi-byte char support we need */ 54 /* need to convert wide chars to multi-byte chars */ 57 /* need to convert multi-byte chars to wide chars */ 104 #define scanf_len(context) ((context)->len) 116 c = context->unget; in scanf_getc() 117 context->unget = MY_EOF; in scanf_getc() 130 --scanf_len(context); in scanf_ungetc() 133 context->unget = c; in scanf_ungetc() [all …]
|
/picolibc-latest/newlib/libc/include/sys/ |
D | queue.h | 1 /*- 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 39 * This file defines four types of data structures: singly-linked lists, 40 * singly-linked tail queues, lists and tail queues. 42 * A singly-linked list is headed by a single forward pointer. The elements 47 * macro for this purpose for optimum efficiency. A singly-linked list may 48 * only be traversed in the forward direction. Singly-linked lists are ideal 52 * A singly-linked tail queue is headed by a pair of pointers, one to the 59 * A singly-linked tail queue may only be traversed in the forward direction. 60 * Singly-linked tail queues are ideal for applications with large datasets [all …]
|