https://sourceware.org/bugzilla/show_bug.cgi?id=33798
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
Tail calls are allowed in this situation. You just wrote the wrong assembly.
"b foo@notoc" is what you want here.
The localentry st_other bits tell the linker about the callee function, the
reloc tells the linker about the caller. You can't expect the linker to use
caller localentry bits when determining what to do with a call as that would
require restrictions on function code placement, eg. all function code would
need to be after the function entry and no other function code could intervene.
--
You are receiving this mail because:
You are on the CC list for the bug.