mirror of
https://git.proxmox.com/git/grub2
synced 2025-05-18 13:46:44 +00:00

Revert 2009-06-10 Pavel Roskin <proski@gnu.org> * configure.ac: Put checks for __bswapsi2 and __bswapdi2. * include/grub/powerpc/libgcc.h: Don't use weak attribute for all exports. * include/grub/sparc64/libgcc.h: Likewise. Use preprocessor conditionals.
32 lines
1.0 KiB
C
32 lines
1.0 KiB
C
/*
|
|
* GRUB -- GRand Unified Bootloader
|
|
* Copyright (C) 2004,2007 Free Software Foundation, Inc.
|
|
*
|
|
* GRUB is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* GRUB is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with GRUB. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#include <config.h>
|
|
|
|
void EXPORT_FUNC (memset) (void);
|
|
|
|
#ifdef HAVE___BSWAPSI2
|
|
typedef int SItype __attribute__ ((mode (SI)));
|
|
SItype EXPORT_FUNC (__bswapsi2) (SItype);
|
|
#endif
|
|
|
|
#ifdef HAVE___BSWAPDI2
|
|
typedef int DItype __attribute__ ((mode (DI)));
|
|
DItype EXPORT_FUNC (__bswapdi2) (DItype);
|
|
#endif
|