This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

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


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.


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