Displaying 6 results from an estimated 6 matches for "__cris__".
2005 Mar 02
1
[PATCH] avoid size_t redefinition
...bitsize/stddef.h 2004-07-07 02:41:04.000000000 +0200
+++ klibc-0.202/include/bits32/bitsize/stddef.h 2005-03-02 20:41:19.000000000 +0100
@@ -5,12 +5,14 @@
#ifndef _BITSIZE_STDDEF_H
#define _BITSIZE_STDDEF_H
+#ifndef _SIZE_T
#define _SIZE_T
#if defined(__s390__) || defined(__hppa__) || defined(__cris__)
typedef unsigned long size_t;
#else
typedef unsigned int size_t;
#endif
+#endif
#define _PTRDIFF_T
typedef signed int ptrdiff_t;
2012 Apr 20
2
klibc 2.0~rc3-1 ./. mksh 40.9.20120414-2
Hi,
after changing mksh to no longer use mkstemp, I decided to try
and build mksh-static with klcc on most platforms, in Debian.
Here are the results by Debian architecture:
alpha (4) fails
amd64 works
armel works
armhf (3) fails
i386 works
ia64 works
m68k (1) workaround
mips works
mipsel works
powerpc (2) fails
ppc64 works (!)
s390 works
s390x works
sparc works
Architectures not listed either
2006 Jun 26
0
[klibc 23/43] cris support for klibc
.../arch/cris/divide.c
@@ -0,0 +1,99 @@
+#include <stdint.h>
+#include <signal.h>
+
+#if BITS == 64
+typedef uint64_t unum;
+typedef int64_t snum;
+#else
+typedef uint32_t unum;
+typedef int32_t snum;
+#endif
+
+#ifdef SIGNED
+typedef snum xnum;
+#else
+typedef unum xnum;
+#endif
+
+#ifdef __cris__
+static inline unum __attribute__ ((const))dstep(unum rs, unum rd)
+{
+ asm("dstep %1,%0": "+r"(rd):"r"(rs));
+ return rd;
+}
+
+static inline unum __attribute__ ((const))lz(unum rs)
+{
+ unum rd;
+ asm("lz %1,%0": "=r"(rd):"r"(rs));
+ ret...
2020 Apr 30
0
[klibc:master] arch: Remove cris port
...ide.c
+++ /dev/null
@@ -1,99 +0,0 @@
-#include <stdint.h>
-#include <signal.h>
-
-#if BITS == 64
-typedef uint64_t unum;
-typedef int64_t snum;
-#else
-typedef uint32_t unum;
-typedef int32_t snum;
-#endif
-
-#ifdef SIGNED
-typedef snum xnum;
-#else
-typedef unum xnum;
-#endif
-
-#ifdef __cris__
-static inline unum __attribute__ ((const))dstep(unum rs, unum rd)
-{
- asm("dstep %1,%0": "+r"(rd):"r"(rs));
- return rd;
-}
-
-static inline unum __attribute__ ((const))lz(unum rs)
-{
- unum rd;
- asm("lz %1,%0": "=r"(rd):"r"(rs));
- ret...
2012 May 15
5
[PATCH 0/5] resubmitting pending patches
Hi,
I?ve gone through the mailing list archives and hereby want
to resubmit my pending patches. Most are independent of each
other, except the m68k patch which will only be complete if
sigsuspend is also fixed. (It can be applied before that,
though.)
http://www.zytor.com/pipermail/klibc/2012-January/003173.html
[PATCH] fix m68k support
Resubmitted here as 0005. While there was a question from
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In
particular, the patchset has been reorganized so as not to break
git-bisect.
Additionally, this updates the patch base to 2.6.17-git12
(d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main
difference on the klibc side is removal of obsolete code.
This is also available as a git tree at: