Fix PR target/33743 (2/2)

Tristan Gingold gingold@adacore.com
Fri Oct 9 15:26:00 GMT 2009


On Oct 9, 2009, at 4:40 PM, Eric Botcazou wrote:

> This is the second part of the fix, for SPARC/SPARC64 Solaris.


+  /* This is the observed pattern for the sigacthandler in Solaris  
8.  */
+  unsigned int sigacthandler_sol8_pattern []
+    = {0x9401400f, 0xca5aafa0, 0x913e2000, 0x892a3003,
+       0xe0590005, 0x9fc40000, 0x9410001a, 0x80a6e008};
+
+  /* This is the observed pattern for the sigacthandler in Solaris  
9.  */
+  unsigned int sigacthandler_sol9_pattern []
+    = {0xa33e2000, 0x00000000, 0x892c7003, 0x90100011,
+       0xe0590005, 0x9fc40000, 0x9410001a, 0x80a46008};
...

Shouldn't these variables be 'static const' ?


> Tested on Solaris 10.  I'll apply it once the x86 version is approved.
>
>
> 2009-10-09  Jose Ruiz  <ruiz@adacore.com>
>            Eric Botcazou  <ebotcazou@adacore.com>
>
> 	* config/sparc/sol2.h (MD_UNWIND_SUPPORT): Define.
> 	* config/sparc/sol2-unwind.h: New file.
>
>
> -- 
> Eric Botcazou
> <p.diff>



More information about the Gcc-patches mailing list