https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89012
--- Comment #9 from Rich Felker <bugdal at aerifal dot cx> --- I think it's actually just a matter of removing the patterns for generating bsrf, but I may be mistaken. Generating jsr should be what happens "by default" in some sense if GCC just has to load the address, no? Of course that would also explicitly load the GOT pointer for the callee which we don't need since it's local. I'll try to take a look at this in more detail soon and see what I can find.