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:
proski 2009-06-10 18:26:50 +00:00
parent fe052e3778
commit 06a6836c58
4 changed files with 14 additions and 14 deletions

View file

@ -16,8 +16,8 @@
* along with GRUB. If not, see <http://www.gnu.org/licenses/>.
*/
void EXPORT_FUNC (memset) (void);
void EXPORT_FUNC (__ashldi3) (void);
void EXPORT_FUNC (__lshrdi3) (void);
void EXPORT_FUNC (__trampoline_setup) (void);
void EXPORT_FUNC (__ucmpdi2) (void);
void EXPORT_FUNC (memset) (void) __attribute__ ((weak));
void EXPORT_FUNC (__ashldi3) (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));