[PATCH] ARM: Do not tail-call to an externally-defined function with weak linkage
Tim Northover
t.p.northover at gmail.com
Thu Aug 14 09:33:47 PDT 2014
Hi Oliver,
Is this an armlink work-around? The ABI looks suspiciously like it was written specifically to be compatible with some recalcitrant linker. It's even phrased as a platform-dependent issue (especially so on AArch32).
GNU's linker on Linux (both AArch32 & AArch64) seems to cope fine, for example. So I don't think we'd want to disable the optimisation there. Or anywhere without evidence of problems, really.
Cheers.
Tim.
http://reviews.llvm.org/D4906
More information about the llvm-commits
mailing list