On 10/17/18 5:48 PM, Paul Koning wrote: > This is a revision of a patch I proposed a while back, to add udivhi3 and > umodhi3 functions to libgcc since some platforms (like pdp11) need it. The > code is adopted from that of udivsi3. > > In earlier discussion it was pointed out that internal functions need to > start with __. The code I had copied does not do that, so I corrected mine > and also changed the existing code to conform to the rules. > > Ok for trunk? > > paul > > ChangeLog: > > 2018-10-17 Paul Koning <n...@arrl.net> > > * udivmodsi4.c (__udivmodsi4): Rename to conform to coding > standard. > * udivmod.c: Update references to __udivmodsi4. > * udivhi3.c: New file. > * udivmodhi4.c: New file. > * config/pdp11/t-pdp11 (LIB2ADD): Add the new files. I think you need to fix divmod.c as well since it calls udivmodsi4. OK with that fixed.
Jeff