2009-10-15 Vladimir Serbinenko <phcoder@gmail.com>
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.
This commit is contained in:
parent
e9d66f6d6a
commit
6b5886ba66
4 changed files with 25 additions and 8 deletions
|
@ -16,9 +16,9 @@
|
|||
* along with GRUB. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
void EXPORT_FUNC (memset) (void) __attribute__ ((weak));
|
||||
void EXPORT_FUNC (__ashldi3) (void) __attribute__ ((weak));
|
||||
void EXPORT_FUNC (__ashrdi3) (void) __attribute__ ((weak));
|
||||
void EXPORT_FUNC (__lshrdi3) (void) __attribute__ ((weak));
|
||||
void EXPORT_FUNC (__trampoline_setup) (void) __attribute__ ((weak));
|
||||
void EXPORT_FUNC (__ucmpdi2) (void) __attribute__ ((weak));
|
||||
void EXPORT_FUNC (memset) (void);
|
||||
void EXPORT_FUNC (__ashldi3) (void);
|
||||
void EXPORT_FUNC (__ashrdi3) (void);
|
||||
void EXPORT_FUNC (__lshrdi3) (void);
|
||||
void EXPORT_FUNC (__trampoline_setup) (void);
|
||||
void EXPORT_FUNC (__ucmpdi2) (void);
|
||||
|
|
|
@ -20,8 +20,12 @@
|
|||
|
||||
void EXPORT_FUNC (memset) (void);
|
||||
|
||||
#ifdef HAVE___BSWAPSI2
|
||||
typedef int SItype __attribute__ ((mode (SI)));
|
||||
SItype EXPORT_FUNC (__bswapsi2) (SItype) __attribute__ ((weak));
|
||||
SItype EXPORT_FUNC (__bswapsi2) (SItype);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE___BSWAPDI2
|
||||
typedef int DItype __attribute__ ((mode (DI)));
|
||||
DItype EXPORT_FUNC (__bswapdi2) (DItype) __attribute__ ((weak));
|
||||
DItype EXPORT_FUNC (__bswapdi2) (DItype);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue