On Wed, Nov 2, 2016 at 12:19 PM, Uros Bizjak <ubiz...@gmail.com> wrote: > On Wed, Nov 2, 2016 at 2:27 PM, Ian Lance Taylor <i...@google.com> wrote: >> On Mon, Oct 31, 2016 at 7:46 AM, Uros Bizjak <ubiz...@gmail.com> wrote: >>> This function will be used in a follow-up patch to implement >>> TARGET_EXPAND_DIVMOD_LIBFUNC for x86 targets. Other targets can call >>> this function, so IMO it should be part of a generic library. >>> >>> 2016-10-31 Uros Bizjak <ubiz...@gmail.com> >>> >>> * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4. >>> * libgcc2.c (__divmoddi4): New function. >>> * libgcc2.h (__divmoddi4): Declare. >>> * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4 >>> and __PFX_divmodti4. >> >> You aren't defining divmodti4 anywhere, so it seems premature to add >> it to libgcc-std.ver.in. > > It is created magically for x86_64, in the same way e.g. divti3 is created.
Ah, OK. Ian