This is the mail archive of the gcc@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: exception_receiver in i386.md


In message <200101182351.SAA23905@jwlab.FEITH.COM>, John Wehle writes:
>restored.  Is there some other mechanism which guarantees that the
>PIC register contains the proper value (i.e. what about a shared
>library throwing an exception caught by another shared library)?

Apparently the dwarf2 unwinder is supposed to restore call-saved 
registers (which the PIC register is on i386) automatically.  Did you 
actually observe that the PIC register was getting corrupted without this 
exception_receiver?

See <http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01174.html> and the 
associated thread for some discussion.

p.



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