OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e816a6
)
Fixup function prototype for __uint128_t which fixes the compile
author
Eric Andersen
<andersen@codepoet.org>
Thu, 7 Nov 2002 18:33:49 +0000
(18:33 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Thu, 7 Nov 2002 18:33:49 +0000
(18:33 -0000)
on powerpc with gcc 3.2.
-Erik
libc/sysdeps/linux/powerpc/sys/procfs.h
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/powerpc/sys/procfs.h
b/libc/sysdeps/linux/powerpc/sys/procfs.h
index
b761bf2
..
f242488
100644
(file)
--- a/
libc/sysdeps/linux/powerpc/sys/procfs.h
+++ b/
libc/sysdeps/linux/powerpc/sys/procfs.h
@@
-42,12
+42,10
@@
typedef elf_greg_t elf_gregset_t[ELF_NGREG];
typedef double elf_fpreg_t;
typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
-/* gcc doesn't support __TI__ yet */
-#if 0
-typedef unsigned __uint128_t __attribute__ (( __mode__ (__TI__)));
-#else
+/* gcc 3.1 and newer support __uint128_t. */
+#if !__GNUC_PREREQ(3,1)
typedef struct {
- unsigned long u[4];
+
unsigned long u[4];
} __attribute((aligned(16))) __uint128_t;
#endif