* config/arm/arm.c (arm_init_libfuncs): Clear mod optabs.

From-SVN: r98417
This commit is contained in:
Paul Brook 2005-04-19 18:50:14 +00:00 committed by Julian Brown
parent 8766be8685
commit 01c19d4774
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2005-04-19 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (arm_init_libfuncs): Clear mod optabs.
2005-04-19 Andrew Haley <aph@redhat.com>
PR java/21022

View File

@ -755,6 +755,13 @@ arm_init_libfuncs (void)
set_optab_libfunc (udiv_optab, DImode, "__aeabi_uldivmod");
set_optab_libfunc (sdiv_optab, SImode, "__aeabi_idivmod");
set_optab_libfunc (udiv_optab, SImode, "__aeabi_uidivmod");
/* We don't have mod libcalls. Fortunately gcc knows how to use the
divmod libcalls instead. */
set_optab_libfunc (smod_optab, DImode, NULL);
set_optab_libfunc (umod_optab, DImode, NULL);
set_optab_libfunc (smod_optab, SImode, NULL);
set_optab_libfunc (umod_optab, SImode, NULL);
}
/* Fix up any incompatible options that the user has specified.