On Fri, Aug 25, 2017 at 03:54:12PM +0200, Jiri Slaby wrote: > So now, there are two things: > 1) how to fix orc_find & unwind_init properly? > 2) how to generate an EMPTY hint for secondary_startup_64 and maybe > later REGS hint after the rsp setup there? The function seems to be a > pretty killer for orc generate (among others in head_64.S):
I think the solution is to get head_64.S annotated properly. Then there won't be a gap between _stext and the first ORC entry, and we won't need to fix __orc_find(). I can work up a patch for you to test with. -- Josh

