This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR target/35222 Force use of sjlj exceptions on hppa*-*-hpux10*
- From: Richard Guenther <rguenther at suse dot de>
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: gcc-patches at gcc dot gnu dot org, bonzini at gnu dot org
- Date: Tue, 4 Mar 2008 10:18:18 +0100 (CET)
- Subject: Re: [PATCH] PR target/35222 Force use of sjlj exceptions on hppa*-*-hpux10*
- References: <20080304015717.12DA94E0F@hiauly1.hia.nrc.ca>
On Mon, 3 Mar 2008, John David Anglin wrote:
> The attached change forces the use of sjlj exceptions on hpux10. This
> avoids the linker problem reported in PR 35222. I was unable to find any
> way to handle the relocation issues associated with references in EH
> data to code symbols in the comdat subspaces used for one-only support
> on hpux10.
>
> The enclosed change forces the definition of CONFIG_SJLJ_EXCEPTIONS
> to 1 for hpux10. This seemed like a better approach than having the
> build fail if a user fails to supply --enable-sjlj-exceptions. The
> latter could be implemented with a PA backend specific change.
>
> The patch has has been mainly tested on hppa2.0w-hp-hpux11.11 using
> the one-only support used with on hpux10. I believe that I have
> checked all the enable/disable permutations, and that the warning
> message appears correctly.
>
> Ok for trunk through 4.2?
Ok for 4.3 if approved by a build-system maintainer.
Richard.