------- Comment #1 from lessen42 at gmail dot com 2009-07-28 05:14 ------- Created an attachment (id=18261) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18261&action=view) Use blx for indirect function calls on armv5+
This fixes the test case and the obvious cases of this I found in x264; there may be more instances of not calling/returning from a function that doesn't match Cortex-A8 and A9's branch predictors (and maybe more) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40887