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]

DWARF2 EH for Linux/Alpha


Hi,

I managed to get DWARF2 EH working on Linux/Alpha for egcs in CVS on
980828 17:45pm PST. But libio is miscompiled by the new egcs. I don't
know if it is caused by the bug in egcs or my patch. Has anyone checked
egcs in CVS on Linux/Alpha?

While working on DWARF2 EH for Linux/Alpha, I found several problems:

1. gas in binutils 2.9.1 mis-optimizes the DWARF2 frame information
   on Linux/Alpha. I don't think it handles alignment right. I will
   try to fix it.
2. __builtin_fp returns frame_pointer_rtx. On Linux/Alpha, it is a
   pseudo register. I had to change it to hard_frame_pointer_rtx.
3. __throw in libgcc2.c doesn't work with return address register.
   I don't know if my fix is correct or not.

Since egcs in CVS is not be stable, I will port my change to egcs 1.1
to see if it really works. With DWARF2 EH, we will get MT safe EH
on Linux/Alpha.


H.J.


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