Lines Matching full:picolibc
1 # Linking Picolibc applications
8 linker script provided by Picolibc. This document describes how to do
16 the data as required. Checkout the [Initializers in Picolibc](init.md) document
20 `-specs=picolibc.specs`, you'll need to use the gcc `-T` option
22 `picolibc.specs` to not add the picolibc linker script along with your
25 gcc -specs=picolibc.specs -Tcustom.ld
27 ## Using picolibc.ld
29 Picolibc provides a default linker script which can often be used to
31 straightforward. To use picolibc.ld, you'll create a custom linker
33 picolibc.ld. Here's a sample custom linker script `sample.ld`:
41 INCLUDE picolibc.ld
47 gcc -specs=picolibc.specs -Tsample.ld
50 picolibc.ld as the linker script:
56 Picolibc.ld defines only two memory regions: `flash` and `ram`. Flash
96 picolibc.ld:
154 picolibc. These can be handy if you need values in memory to survive
165 picolibc.ld places values for variables with explicit initializers in
180 Picolibc uses native toolchain TLS support for values which should be
183 doesn't support threading, Picolibc allocates a static copy of the TLS
188 at the data/bss boundary, picolibc can initialize the TLS block as a
191 segments; picolibc.ld makes space by simply advancing the memory