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:
5b61513
)
Do not duplicate stuff from ldso.h
author
Eric Andersen
<andersen@codepoet.org>
Tue, 17 Feb 2004 06:38:01 +0000
(06:38 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Tue, 17 Feb 2004 06:38:01 +0000
(06:38 -0000)
ldso/ldso/arm/dl-syscalls.h
patch
|
blob
|
history
diff --git
a/ldso/ldso/arm/dl-syscalls.h
b/ldso/ldso/arm/dl-syscalls.h
index
dbf1634
..
c020832
100644
(file)
--- a/
ldso/ldso/arm/dl-syscalls.h
+++ b/
ldso/ldso/arm/dl-syscalls.h
@@
-3,17
+3,5
@@
* before the errno symbol is dynamicly linked. */
#define __set_errno(X) {(void)(X);}
-
-/* Prepare for the case that `__builtin_expect' is not available. */
-#if __GNUC__ == 2 && __GNUC_MINOR__ < 96
-#define __builtin_expect(x, expected_value) (x)
-#endif
-#ifndef likely
-# define likely(x) __builtin_expect((!!(x)),1)
-#endif
-#ifndef unlikely
-# define unlikely(x) __builtin_expect((!!(x)),0)
-#endif
-
#include "sys/syscall.h"