This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: patch for exception handlers in PIC code on ARM



philb@gnu.org said:
> The PIC register may need to be reloaded when control passes to an
> exception  handler.  I haven't actually been able to bootstrap this
> patch on the mainline  owing to other problems, but an equivalent
> causes no regressions in my 2.93.3  tree.


Given that the pic register is call-saved, why isn't it automatically 
restored from the frame (DWARF) or the jump buf (SJLJ)?

Note, DWARF exception throwing is still not fixed in the trunk, I think I 
know the problem, but I still need to do some more tests.

R.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]