diff options
author | Michal Simek <michal.simek@xilinx.com> | 2012-12-13 11:47:55 -0500 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2012-12-13 12:15:38 -0500 |
commit | 9f2a45bd81ad2362b61fe2dc6fa202ae18308b7b (patch) | |
tree | 713b4e7fa9a3dfc84efaaa60935047496d3c957f /arch/microblaze | |
parent | a671de086874b9d8155369319b2bd989cf55d77c (diff) |
microblaze: lib: Add lib function declarations
Function declarations fix these sparse warnings:
arch/microblaze/lib/ashldi3.c:5:11: warning: symbol
'__ashldi3' was not declared. Should it be static?
arch/microblaze/lib/muldi3.c:50:8: warning: symbol
'__muldi3' was not declared. Should it be static?
arch/microblaze/lib/cmpdi2.c:5:11: warning: symbol
'__cmpdi2' was not declared. Should it be static?
arch/microblaze/lib/lshrdi3.c:5:11: warning: symbol
'__lshrdi3' was not declared. Should it be static?
arch/microblaze/lib/ashrdi3.c:5:11: warning: symbol
'__ashrdi3' was not declared. Should it be static?
arch/microblaze/lib/ucmpdi2.c:5:11: warning: symbol
'__ucmpdi2' was not declared. Should it be static?
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/lib/libgcc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/microblaze/lib/libgcc.h b/arch/microblaze/lib/libgcc.h index 05909d58e2fe..ab077ef7e14b 100644 --- a/arch/microblaze/lib/libgcc.h +++ b/arch/microblaze/lib/libgcc.h | |||
@@ -22,4 +22,11 @@ typedef union { | |||
22 | long long ll; | 22 | long long ll; |
23 | } DWunion; | 23 | } DWunion; |
24 | 24 | ||
25 | extern long long __ashldi3(long long u, word_type b); | ||
26 | extern long long __ashrdi3(long long u, word_type b); | ||
27 | extern word_type __cmpdi2(long long a, long long b); | ||
28 | extern long long __lshrdi3(long long u, word_type b); | ||
29 | extern long long __muldi3(long long u, long long v); | ||
30 | extern word_type __ucmpdi2(unsigned long long a, unsigned long long b); | ||
31 | |||
25 | #endif /* __ASM_LIBGCC_H */ | 32 | #endif /* __ASM_LIBGCC_H */ |