ping x2: recognize .persistent.bss sections as bss

Olivier Hainque hainque@adacore.com
Thu May 24 21:56:00 GMT 2012


Hello,

Ping # 2 for http://gcc.gnu.org/ml/gcc-patches/2012-04/msg00833.html

Thanks in advance,

Olivier

(sorry for a possible duplicate or empty
 version of that message a few minutes ago)

On Apr 13, 2012, at 15:06 , Olivier Hainque wrote:

> For several years now, Ada has support for a "Persistent_BSS" pragma
> that let users place data in a ".persistent.bss" section. This section: 
> 
> - needs to be treated as a bss section by the compiler (in particular,
>  to set flags that will prevent use of space in executable files)
> 
> - can be treated specially by run-time loaders, not resetting to all
>  zeroes on application warm-restarts. 
> 
> This patch simply adds ".persistent.bss" to the list of section names
> that GCC identifies a bss sections.
...
>        * varasm.c (default_section_type_flags): Flag .persistent.bss
>        sections as SECTION_BSS.
> 
> <pbss.dif>



More information about the Gcc-patches mailing list