[PATCH] PR target/35222 Force use of sjlj exceptions on hppa*-*-hpux10*

Richard Guenther rguenther@suse.de
Tue Mar 4 09:18:00 GMT 2008


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.



More information about the Gcc-patches mailing list