https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85669
--- Comment #51 from Wilco <wilco at gcc dot gnu.org> --- (In reply to Segher Boessenkool from comment #49) > (In reply to Douglas Mencken from comment #46) > > Yeah, PowerPC doesn’t have addressing via PC, thus it requires to do tricks > > like that > > No, we don't have to do such strange code. The usual way is to do a call > to the next instruction, and then a mflr. No blrl needed. > > This _is_ an excuse to use that fun instruction though! That would kill the return stack though unless the hardware special cases a call to next instruction as not being a call but providing the PC.