Chris Metcalf 0ac4f1dab3 tile: Fix BZ #18508 (makecontext yield infinite backtrace)
It turns out tile suffered from the same problem as S390.  However,
disabling CFI information for the __startcontext on tile was not
sufficient to fix the problem; I think the backtracer will just
blindly try to follow the link register (lr) in that case.

Instead, the change adds a cfi_undefined directive for "lr"
and then arranges to call __startcontext directly when the new
context starts, rather than just synthesizing a return to it.
In addition to being a bit easier now to understand the control
flow, this also allows the cfi_undefined directive to be placed in
a way that causes it to be in force at the address that the "lr"
from the called function points to.
2015-07-21 12:11:55 -04:00
..
2015-04-20 08:51:17 -03:00
2014-07-07 09:29:06 -07:00
2015-05-26 10:10:36 -03:00
2015-05-26 10:10:36 -03:00
2015-02-06 10:42:08 -08:00
2014-11-24 15:03:45 +05:30