This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/4356: Exception handling does not work at all for NetBSD/i386 ELF target
- To: nobody at gcc dot gnu dot org
- Subject: Re: c++/4356: Exception handling does not work at all for NetBSD/i386 ELF target
- From: Richard Henderson <rth at redhat dot com>
- Date: 16 Oct 2001 22:46:01 -0000
- Cc: gcc-prs at gcc dot gnu dot org,
- Reply-To: Richard Henderson <rth at redhat dot com>
The following reply was made to PR c++/4356; it has been noted by GNATS.
From: Richard Henderson <rth@redhat.com>
To: Krister Walfridsson <cato@df.lth.se>
Cc: olgerd@pobox.com, gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org,
gcc-bugs@gcc.gnu.org, gcc-patches@gcc.gnu.org
Subject: Re: c++/4356: Exception handling does not work at all for NetBSD/i386 ELF target
Date: Tue, 16 Oct 2001 15:37:02 -0700
On Tue, Oct 16, 2001 at 11:31:23PM +0200, Krister Walfridsson wrote:
> Well, in the process of throwing/catching an exception we run some
> code. Among other, the function read_encoded_value_with_base() in
> eh_personality.cc. And that function has a switch statment...
Ah, ok.
> Actually I have no clue if JUMP_TABLES_IN_TEXT_SECTION is needed, but
> the FreeBSD ELF version has a comment claiming it is necessary. And
> NetBSD and FreeBSD is nearly identical, so if it is needed by FreeBSD,
> then it is needed by NetBSD too...
Oh, I see. I'd forgotten about the silly way that switch
statements are actually implemented on x86-elf. That can
be fixed if we assume a recent assembler...
Applied.
r~