This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
DWARF2 EH for Linux/Alpha
- To: S dot Lo at orl dot co dot uk (Sai-Lai Lo)
- Subject: DWARF2 EH for Linux/Alpha
- From: hjl at lucon dot org (H.J. Lu)
- Date: Fri, 28 Aug 1998 21:20:10 -0700 (PDT)
- Cc: egcs at cygnus dot com, rth at cygnus dot com, ian at cygnus dot com (Ian Lance Taylor)
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.