summaryrefslogtreecommitdiff
path: root/packages/picolibc/1.4.7
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2022-02-11 02:00:59 (GMT)
committerAlexey Neyman <stilor@att.net>2022-02-11 08:47:51 (GMT)
commit86c2982568de1ad4d4cc12a65b19231331484405 (patch)
tree2e0b3fb78c30877c0c152d59d0e0fff817b73822 /packages/picolibc/1.4.7
parent1210b0c2f45e32ef0867ca00e16b6aadb6a81bf9 (diff)
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>
Diffstat (limited to 'packages/picolibc/1.4.7')
-rw-r--r--packages/picolibc/1.4.7/0000-tinystdio-Make-ungetc-buffer-type-purely-architectur.patch (renamed from packages/picolibc/1.4.7/0001-tinystdio-Make-ungetc-buffer-type-purely-architectur.patch)19
-rw-r--r--packages/picolibc/1.4.7/0001-Add-ARM-exception-information-to-link-rules.patch (renamed from packages/picolibc/1.4.7/0002-Add-ARM-exception-information-to-link-rules.patch)9
-rw-r--r--packages/picolibc/1.4.7/0002-Add-picolibc-include-directory-to-cc1plus-spec.patch (renamed from packages/picolibc/1.4.7/0003-Add-picolibc-include-directory-to-cc1plus-spec.patch)7
3 files changed, 8 insertions, 27 deletions
diff --git a/packages/picolibc/1.4.7/0001-tinystdio-Make-ungetc-buffer-type-purely-architectur.patch b/packages/picolibc/1.4.7/0000-tinystdio-Make-ungetc-buffer-type-purely-architectur.patch
index 0bedf41..4b3ecbd 100644
--- a/packages/picolibc/1.4.7/0001-tinystdio-Make-ungetc-buffer-type-purely-architectur.patch
+++ b/packages/picolibc/1.4.7/0000-tinystdio-Make-ungetc-buffer-type-purely-architectur.patch
@@ -19,13 +19,11 @@ supported by C++.
Signed-off-by: Keith Packard <keithp@keithp.com>
---
- newlib/libc/tinystdio/exchange.c | 2 +-
- newlib/libc/tinystdio/stdio.h | 39 +++++++++++----------------
- newlib/libc/tinystdio/stdio_private.h | 24 ++++++++++++-----
+ newlib/libc/tinystdio/exchange.c | 2 -
+ newlib/libc/tinystdio/stdio.h | 39 +++++++++++++---------------------
+ newlib/libc/tinystdio/stdio_private.h | 24 ++++++++++++++------
3 files changed, 34 insertions(+), 31 deletions(-)
-diff --git a/newlib/libc/tinystdio/exchange.c b/newlib/libc/tinystdio/exchange.c
-index 1272ae36e..e8c785f8a 100644
--- a/newlib/libc/tinystdio/exchange.c
+++ b/newlib/libc/tinystdio/exchange.c
@@ -39,7 +39,7 @@
@@ -37,8 +35,6 @@ index 1272ae36e..e8c785f8a 100644
{
return __non_atomic_exchange_ungetc(p, v);
}
-diff --git a/newlib/libc/tinystdio/stdio.h b/newlib/libc/tinystdio/stdio.h
-index 1e36f73e9..8bc0f8843 100644
--- a/newlib/libc/tinystdio/stdio.h
+++ b/newlib/libc/tinystdio/stdio.h
@@ -224,38 +224,31 @@
@@ -96,11 +92,9 @@ index 1e36f73e9..8bc0f8843 100644
uint8_t flags; /* flags, see below */
#define __SRD 0x0001 /* OK to read */
#define __SWR 0x0002 /* OK to write */
-diff --git a/newlib/libc/tinystdio/stdio_private.h b/newlib/libc/tinystdio/stdio_private.h
-index b8ec66864..1a8b77dc9 100644
--- a/newlib/libc/tinystdio/stdio_private.h
+++ b/newlib/libc/tinystdio/stdio_private.h
-@@ -141,7 +141,7 @@ float
+@@ -141,7 +141,7 @@
__atof_engine(uint32_t m10, int e10);
static inline uint16_t
@@ -109,7 +103,7 @@ index b8ec66864..1a8b77dc9 100644
{
__ungetc_t e = *p;
*p = v;
-@@ -159,28 +159,38 @@ __non_atomic_compare_exchange_ungetc(__ungetc_t *p, __ungetc_t d, __ungetc_t v)
+@@ -159,28 +159,38 @@
#ifdef ATOMIC_UNGETC
@@ -154,6 +148,3 @@ index b8ec66864..1a8b77dc9 100644
#endif /* PICOLIBC_HAVE_SYNC_COMPARE_AND_SWAP */
---
-2.29.1
-
diff --git a/packages/picolibc/1.4.7/0002-Add-ARM-exception-information-to-link-rules.patch b/packages/picolibc/1.4.7/0001-Add-ARM-exception-information-to-link-rules.patch
index 7fd254d..233eafa 100644
--- a/packages/picolibc/1.4.7/0002-Add-ARM-exception-information-to-link-rules.patch
+++ b/packages/picolibc/1.4.7/0001-Add-ARM-exception-information-to-link-rules.patch
@@ -7,14 +7,12 @@ Place any ARM exeception information in ROM for C++ support.
Signed-off-by: Keith Packard <keithp@keithp.com>
---
- picolibc.ld | 10 ++++++++++
+ picolibc.ld | 10 ++++++++++
1 file changed, 10 insertions(+)
-diff --git a/picolibc.ld b/picolibc.ld
-index 6d14b396f..ff60fe3a3 100644
--- a/picolibc.ld
+++ b/picolibc.ld
-@@ -94,6 +94,16 @@ SECTIONS
+@@ -94,6 +94,16 @@
*(.got .got.*)
} >flash AT>flash :text
@@ -31,6 +29,3 @@ index 6d14b396f..ff60fe3a3 100644
. = ALIGN(8);
.preinit_array : {
---
-2.28.0
-
diff --git a/packages/picolibc/1.4.7/0003-Add-picolibc-include-directory-to-cc1plus-spec.patch b/packages/picolibc/1.4.7/0002-Add-picolibc-include-directory-to-cc1plus-spec.patch
index 885c0c7..267e1b2 100644
--- a/packages/picolibc/1.4.7/0003-Add-picolibc-include-directory-to-cc1plus-spec.patch
+++ b/packages/picolibc/1.4.7/0002-Add-picolibc-include-directory-to-cc1plus-spec.patch
@@ -10,11 +10,9 @@ GCC-provided header directories, so use -idirafter instead of -isystem.
Signed-off-by: Keith Packard <keithp@keithp.com>
---
- picolibc.specs.in | 2 +-
+ picolibc.specs.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-diff --git a/picolibc.specs.in b/picolibc.specs.in
-index c1f916a6f..133e65db9 100644
--- a/picolibc.specs.in
+++ b/picolibc.specs.in
@@ -10,7 +10,7 @@
@@ -26,6 +24,3 @@ index c1f916a6f..133e65db9 100644
*link:
@SPECS_PRINTF@ -L@LIBDIR@/%M -L@LIBDIR@ %{!T:-Tpicolibc.ld} %(picolibc_link) --gc-sections @LINK_SPEC@
---
-2.28.0
-