* [PATCH] libc/newlib: add newlib 1.20.0 support
@ 2012-08-18 4:45 Austin Morton
2012-09-15 21:34 ` Austin Morton
0 siblings, 1 reply; 4+ messages in thread
From: Austin Morton @ 2012-08-18 4:45 UTC (permalink / raw)
To: crossgcc
Hello all,
We were in need of newlib 1.20.0 for our project since some of the
existing patches we used were based on it, and adding it was simple
enough.
Below is the patch.
Thanks,
Austin Morton
# User Austin Morton <austinpmorton@gmail.com>
# Date 1345264811 14400
# Node ID 2c0940e6222fe739d73169ad477cca5d427b2b1e
# Parent f9d225d5e8b1791db661cef261613b9b327dff50
libc/newlib: add 1.20.0 newlib support
diff -r f9d225d5e8b1 -r 2c0940e6222f config/libc/newlib.in
--- a/config/libc/newlib.in Sun Aug 12 07:45:42 2012 -0400
+++ b/config/libc/newlib.in Sat Aug 18 00:40:11 2012 -0400
@@ -17,6 +17,11 @@
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config LIBC_NEWLIB_V_1_20_0
+ bool
+ prompt "1.20.0 (EXPERIMENTAL)"
+ depends on EXPERIMENTAL
+
config LIBC_NEWLIB_V_1_19_0
bool
prompt "1.19.0 (EXPERIMENTAL)"
@@ -54,6 +59,7 @@
prompt "use CVS tag" if LIBC_NEWLIB_CVS
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "1.20.0" if LIBC_NEWLIB_V_1_20_0
default "1.19.0" if LIBC_NEWLIB_V_1_19_0
default "1.18.0" if LIBC_NEWLIB_V_1_18_0
default "1.17.0" if LIBC_NEWLIB_V_1_17_0
diff -r f9d225d5e8b1 -r 2c0940e6222f
patches/newlib/1.20.0/100-fix-unaligned-access-memcpy-m68k.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/newlib/1.20.0/100-fix-unaligned-access-memcpy-m68k.patch
Sat Aug 18 00:40:11 2012 -0400
@@ -0,0 +1,26 @@
+The m68k mcpu processor does not like unaligned access
+
+Disable at least mcpu32, m68010 and m68020. These processors certainly
+do not like unaligned accesses.
+
+Signed-off-by: Remy Bohmer <linux@bohmer.net>
+[yann.morin.1998@anciens.enib.fr: update for 1.19.0 from 1.18.0]
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
+[austinpmorton@gmail.com: update for 1.20.0 from 1.19.0]
+---
+ newlib/libc/machine/m68k/memcpy.S | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S
+===================================================================
+--- newlib-1.20.0.orig/newlib/libc/machine/m68k/memcpy.S
++++ newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S
+@@ -15,7 +15,7 @@
+
+ #include "m68kasm.h"
+
+-#if defined (__mcoldfire__) || defined (__mc68010__) || defined
(__mc68020__) || defined (__mc68030__) || defined (__mc68040__) ||
defined (__mc68060__)
++#if defined (__mcoldfire__) || defined (__mc68030__) || defined
(__mc68040__) || defined (__mc68060__)
+ # define MISALIGNED_OK 1
+ #else
+ # define MISALIGNED_OK 0
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] libc/newlib: add newlib 1.20.0 support
2012-08-18 4:45 [PATCH] libc/newlib: add newlib 1.20.0 support Austin Morton
@ 2012-09-15 21:34 ` Austin Morton
2012-09-16 18:27 ` Austin Morton
0 siblings, 1 reply; 4+ messages in thread
From: Austin Morton @ 2012-09-15 21:34 UTC (permalink / raw)
To: crossgcc
On Sat, 2012-08-18 at 00:44 -0400, Austin Morton wrote:
> Hello all,
>
> We were in need of newlib 1.20.0 for our project since some of the
> existing patches we used were based on it, and adding it was simple
> enough.
>
> Below is the patch.
>
> Thanks,
> Austin Morton
>
>
> # User Austin Morton <austinpmorton@gmail.com>
> # Date 1345264811 14400
> # Node ID 2c0940e6222fe739d73169ad477cca5d427b2b1e
> # Parent f9d225d5e8b1791db661cef261613b9b327dff50
> libc/newlib: add 1.20.0 newlib support
>
> diff -r f9d225d5e8b1 -r 2c0940e6222f config/libc/newlib.in
> --- a/config/libc/newlib.in Sun Aug 12 07:45:42 2012 -0400
> +++ b/config/libc/newlib.in Sat Aug 18 00:40:11 2012 -0400
> @@ -17,6 +17,11 @@
> # Don't remove next line
> # CT_INSERT_VERSION_BELOW
>
> +config LIBC_NEWLIB_V_1_20_0
> + bool
> + prompt "1.20.0 (EXPERIMENTAL)"
> + depends on EXPERIMENTAL
> +
> config LIBC_NEWLIB_V_1_19_0
> bool
> prompt "1.19.0 (EXPERIMENTAL)"
> @@ -54,6 +59,7 @@
> prompt "use CVS tag" if LIBC_NEWLIB_CVS
> # Don't remove next line
> # CT_INSERT_VERSION_STRING_BELOW
> + default "1.20.0" if LIBC_NEWLIB_V_1_20_0
> default "1.19.0" if LIBC_NEWLIB_V_1_19_0
> default "1.18.0" if LIBC_NEWLIB_V_1_18_0
> default "1.17.0" if LIBC_NEWLIB_V_1_17_0
> diff -r f9d225d5e8b1 -r 2c0940e6222f
> patches/newlib/1.20.0/100-fix-unaligned-access-memcpy-m68k.patch
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/patches/newlib/1.20.0/100-fix-unaligned-access-memcpy-m68k.patch
> Sat Aug 18 00:40:11 2012 -0400
> @@ -0,0 +1,26 @@
> +The m68k mcpu processor does not like unaligned access
> +
> +Disable at least mcpu32, m68010 and m68020. These processors certainly
> +do not like unaligned accesses.
> +
> +Signed-off-by: Remy Bohmer <linux@bohmer.net>
> +[yann.morin.1998@anciens.enib.fr: update for 1.19.0 from 1.18.0]
> +Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
> +[austinpmorton@gmail.com: update for 1.20.0 from 1.19.0]
> +---
> + newlib/libc/machine/m68k/memcpy.S | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +Index: newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S
> +===================================================================
> +--- newlib-1.20.0.orig/newlib/libc/machine/m68k/memcpy.S
> ++++ newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S
> +@@ -15,7 +15,7 @@
> +
> + #include "m68kasm.h"
> +
> +-#if defined (__mcoldfire__) || defined (__mc68010__) || defined
> (__mc68020__) || defined (__mc68030__) || defined (__mc68040__) ||
> defined (__mc68060__)
> ++#if defined (__mcoldfire__) || defined (__mc68030__) || defined
> (__mc68040__) || defined (__mc68060__)
> + # define MISALIGNED_OK 1
> + #else
> + # define MISALIGNED_OK 0
>
>
Ping?
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] libc/newlib: add newlib 1.20.0 support
2012-09-15 21:34 ` Austin Morton
@ 2012-09-16 18:27 ` Austin Morton
2012-09-17 22:32 ` Yann E. MORIN
0 siblings, 1 reply; 4+ messages in thread
From: Austin Morton @ 2012-09-16 18:27 UTC (permalink / raw)
To: crossgcc
fixed the signed-off lines as per request
# HG changeset patch
# User Austin Morton <austinpmorton@gmail.com>
# Date 1347819142 14400
# Node ID 0a9315983a5bed1518d1e71c39f5de58c0485787
# Parent c79d55b27724590444cd20683527346a254ed132
libc/newlib: add newlib 1.20.0 support
Signed-off by: Austin Morton <austinpmorton@gmail.com>
diff -r c79d55b27724 -r 0a9315983a5b config/libc/newlib.in
--- a/config/libc/newlib.in Wed Sep 12 17:42:38 2012 +0800
+++ b/config/libc/newlib.in Sun Sep 16 14:12:22 2012 -0400
@@ -17,6 +17,11 @@
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config LIBC_NEWLIB_V_1_20_0
+ bool
+ prompt "1.20.0 (EXPERIMENTAL)"
+ depends on EXPERIMENTAL
+
config LIBC_NEWLIB_V_1_19_0
bool
prompt "1.19.0 (EXPERIMENTAL)"
@@ -54,6 +59,7 @@
prompt "use CVS tag" if LIBC_NEWLIB_CVS
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "1.20.0" if LIBC_NEWLIB_V_1_20_0
default "1.19.0" if LIBC_NEWLIB_V_1_19_0
default "1.18.0" if LIBC_NEWLIB_V_1_18_0
default "1.17.0" if LIBC_NEWLIB_V_1_17_0
diff -r c79d55b27724 -r 0a9315983a5b patches/newlib/1.20.0/100-fix-unaligned-access-memcpy-m68k.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/newlib/1.20.0/100-fix-unaligned-access-memcpy-m68k.patch Sun Sep 16 14:12:22 2012 -0400
@@ -0,0 +1,27 @@
+The m68k mcpu processor does not like unaligned access
+
+Disable at least mcpu32, m68010 and m68020. These processors certainly
+do not like unaligned accesses.
+
+Signed-off-by: Remy Bohmer <linux@bohmer.net>
+[yann.morin.1998@anciens.enib.fr: update for 1.19.0 from 1.18.0]
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
+[austinpmorton@gmail.com: update for 1.20.0 from 1.19.0]
+Signed-off-by: Austin Morton <austinpmorton@gmail.com>
+---
+ newlib/libc/machine/m68k/memcpy.S | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S
+===================================================================
+--- newlib-1.20.0.orig/newlib/libc/machine/m68k/memcpy.S
++++ newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S
+@@ -15,7 +15,7 @@
+
+ #include "m68kasm.h"
+
+-#if defined (__mcoldfire__) || defined (__mc68010__) || defined (__mc68020__) || defined (__mc68030__) || defined (__mc68040__) || defined (__mc68060__)
++#if defined (__mcoldfire__) || defined (__mc68030__) || defined (__mc68040__) || defined (__mc68060__)
+ # define MISALIGNED_OK 1
+ #else
+ # define MISALIGNED_OK 0
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] libc/newlib: add newlib 1.20.0 support
2012-09-16 18:27 ` Austin Morton
@ 2012-09-17 22:32 ` Yann E. MORIN
0 siblings, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2012-09-17 22:32 UTC (permalink / raw)
To: crossgcc; +Cc: Austin Morton
Austin, All,
On Sunday 16 September 2012 20:27:11 Austin Morton wrote:
> # HG changeset patch
> # User Austin Morton <austinpmorton@gmail.com>
> # Date 1347819142 14400
> # Node ID 0a9315983a5bed1518d1e71c39f5de58c0485787
> # Parent c79d55b27724590444cd20683527346a254ed132
> libc/newlib: add newlib 1.20.0 support
Applied as #6d88d6558b7a. Thank you!
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-09-17 22:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-18 4:45 [PATCH] libc/newlib: add newlib 1.20.0 support Austin Morton
2012-09-15 21:34 ` Austin Morton
2012-09-16 18:27 ` Austin Morton
2012-09-17 22:32 ` Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).