This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".
The branch, 1.0 has been updated
via c797b9909cb53015c0a240a14d2788010f8b4f08 (commit)
via 6d40500590bd17ba77fa6d9daa27e5c546e8d2e5 (commit)
from 57573bbdfd740da8bb10d2e85a21526e971d0a5e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c797b9909cb53015c0a240a14d2788010f8b4f08
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Mon Nov 2 07:04:36 2015 +0100
sh4a: allow to build a sh4a toolchain
Add correct compiler settings.
commit 6d40500590bd17ba77fa6d9daa27e5c546e8d2e5
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Wed Oct 28 22:10:09 2015 +0100
h8300: fix compile with 4.2.x kernel
-----------------------------------------------------------------------
Summary of changes:
Rules.mak | 2 ++
extra/Configs/Config.in | 1 +
extra/Configs/Config.sh | 4 ++++
libc/sysdeps/linux/h8300/bits/kernel_types.h | 6 +++---
4 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/Rules.mak b/Rules.mak
index 063873b..761bb74 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -422,9 +422,11 @@ $(eval $(call check-gcc-var,-mprefergot))
ifeq ($(UCLIBC_HAS_FPU),y)
CPU_CFLAGS-$(CONFIG_SH2A)+=-m2a
CPU_CFLAGS-$(CONFIG_SH4)+=-m4
+ CPU_CFLAGS-$(CONFIG_SH4A)+=-m4a
else
CPU_CFLAGS-$(CONFIG_SH2A)+=-m2a-nofpu
CPU_CFLAGS-$(CONFIG_SH4)+=-m4-nofpu
+ CPU_CFLAGS-$(CONFIG_SH4A)+=-m4a-nofpu
endif
endif
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 8e925b2..f3f573d 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -269,6 +269,7 @@ config TARGET_SUBARCH
default "e500" if CONFIG_E500
default "classic" if CONFIG_CLASSIC
default "sh4" if CONFIG_SH4
+ default "sh4" if CONFIG_SH4A
default "" if CONFIG_386
default "i486" if CONFIG_486
default "i586" if CONFIG_586
diff --git a/extra/Configs/Config.sh b/extra/Configs/Config.sh
index 5e0fc9e..1367b1c 100644
--- a/extra/Configs/Config.sh
+++ b/extra/Configs/Config.sh
@@ -27,6 +27,7 @@ choice
- "SH2" SuperH SH-2
- "SH3" SuperH SH-3
- "SH4" SuperH SH-4
+ - "SH4A" SuperH SH-4a
config CONFIG_SH2A
select ARCH_HAS_NO_MMU
@@ -44,6 +45,9 @@ config CONFIG_SH3
config CONFIG_SH4
bool "SH4"
+config CONFIG_SH4A
+ bool "SH4A"
+
endchoice
config ARCH_HAS_BWD_MEMCPY
diff --git a/libc/sysdeps/linux/h8300/bits/kernel_types.h
b/libc/sysdeps/linux/h8300/bits/kernel_types.h
index 198c034..312cf29 100644
--- a/libc/sysdeps/linux/h8300/bits/kernel_types.h
+++ b/libc/sysdeps/linux/h8300/bits/kernel_types.h
@@ -1,5 +1,5 @@
-#ifndef _BITS_KERNEL_TYPES_H
-#define _BITS_KERNEL_TYPES_H
+#ifndef __ASM_GENERIC_POSIX_TYPES_H
+#define __ASM_GENERIC_POSIX_TYPES_H
/* Sigh. We need to carefully wrap this one... No guarantees
* that the asm/posix_types.h kernel header is working. Many
@@ -56,4 +56,4 @@ typedef struct {
} __kernel_fsid_t;
#define __kernel_fsid_t __kernel_fsid_t
-#endif /* _BITS_KERNEL_TYPES_H */
+#endif /* __ASM_GENERIC_POSIX_TYPES_H */
hooks/post-receive
--
uClibc-ng - small C library for embedded systems