Re: [PATCH] bsps/sparc: Add common gnat handler function prototype.

2014-03-14 Thread Gedare Bloom
On Fri, Mar 14, 2014 at 7:15 AM, Daniel Cederman wrote: > > On 2014-03-14 09:52, Daniel Cederman wrote: >> >> So I should place gnatcommon.h in >> c/src/lib/libbsp/sparc/shared/include/bsp instead? >> Only if all bsps in sparc port share it. > > Or is it just that I should add the file to include

Re: [PATCH] bsps/sparc: Add common gnat handler function prototype.

2014-03-14 Thread Daniel Cederman
On 2014-03-14 09:52, Daniel Cederman wrote: So I should place gnatcommon.h in c/src/lib/libbsp/sparc/shared/include/bsp instead? Or is it just that I should add the file to include_bsp_HEADERS instead of include_HEADERS? Daniel Cederman Software Engineer Aeroflex Gaisler AB Aeroflex Microe

Re: [PATCH] bsps/sparc: Add common gnat handler function prototype.

2014-03-14 Thread Daniel Cederman
So I should place gnatcommon.h in c/src/lib/libbsp/sparc/shared/include/bsp instead? On 2014-03-13 15:23, Joel Sherrill wrote: On 3/13/2014 9:14 AM, Daniel Cederman wrote: Moved prototype for __gnat_install_handler and __gnat_install_handler_common to common header file. --- c/src/lib/libb

Re: [PATCH] bsps/sparc: Add common gnat handler function prototype.

2014-03-14 Thread Daniel Cederman
I assume it would only be used during the BSP build. The main purpose of gnatcommon.c is to override the default __gnat_install_handler in gnat to provide a sparc trap to posix signal mapping for some traps. On 2014-03-13 15:24, Gedare Bloom wrote: Does the new header file need to be installe

Re: [PATCH] bsps/sparc: Add common gnat handler function prototype.

2014-03-13 Thread Gedare Bloom
Does the new header file need to be installed, or is it only used internally during the BSP build? On Thu, Mar 13, 2014 at 10:14 AM, Daniel Cederman wrote: > Moved prototype for __gnat_install_handler and __gnat_install_handler_common > to common header file. > --- > c/src/lib/libbsp/sparc/Mak

Re: [PATCH] bsps/sparc: Add common gnat handler function prototype.

2014-03-13 Thread Joel Sherrill
On 3/13/2014 9:14 AM, Daniel Cederman wrote: > Moved prototype for __gnat_install_handler and __gnat_install_handler_common > to common header file. > --- > c/src/lib/libbsp/sparc/Makefile.am |1 + > c/src/lib/libbsp/sparc/erc32/Makefile.am |1 + > c/src/lib/lib

[PATCH] bsps/sparc: Add common gnat handler function prototype.

2014-03-13 Thread Daniel Cederman
Moved prototype for __gnat_install_handler and __gnat_install_handler_common to common header file. --- c/src/lib/libbsp/sparc/Makefile.am |1 + c/src/lib/libbsp/sparc/erc32/Makefile.am |1 + c/src/lib/libbsp/sparc/erc32/gnatsupp/gnatsupp.c |2 +- c/src/lib