https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85492
--- Comment #6 from Jim Wilson <wilson at gcc dot gnu.org> --- I suggest you handle the glibc patch. Note that you can probably also fix this by adding unwind direcives to _start to say that the return address is in x0. This would avoid the minor code size increase, but takes a little more effort to figure out how to add the right unwind directives to assembly code to make this work. I haven't tried that.