Commit 01c19d47 by Paul Brook Committed by Julian Brown

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

From-SVN: r98417
parent 8766be86
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
......
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment