2009-06-10 Pavel Roskin <proski@gnu.org>
* configure.ac: Remove checks for __bswapsi2 and __bswapdi2, they fail without libc headers for the target. * include/grub/powerpc/libgcc.h: Use weak attribute for all exports. * include/grub/sparc64/libgcc.h: Likewise. Don't use preprocessor conditionals.
This commit is contained in:
parent
fe052e3778
commit
06a6836c58
4 changed files with 14 additions and 14 deletions
|
@ -20,12 +20,8 @@
|
|||
|
||||
void EXPORT_FUNC (memset) (void);
|
||||
|
||||
#ifdef HAVE___BSWAPSI2
|
||||
typedef int SItype __attribute__ ((mode (SI)));
|
||||
SItype EXPORT_FUNC (__bswapsi2) (SItype);
|
||||
#endif
|
||||
SItype EXPORT_FUNC (__bswapsi2) (SItype) __attribute__ ((weak));
|
||||
|
||||
#ifdef HAVE___BSWAPDI2
|
||||
typedef int DItype __attribute__ ((mode (DI)));
|
||||
DItype EXPORT_FUNC (__bswapdi2) (DItype);
|
||||
#endif
|
||||
DItype EXPORT_FUNC (__bswapdi2) (DItype) __attribute__ ((weak));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue