[Ada] Delete bogus use of flag_zero_initialized_in_bss
Duncan Sands
baldrick@free.fr
Thu Mar 18 14:06:00 GMT 2010
Hi Eric,
>> On a linux system, the program loader will fill the BSS section with zeros.
>> So in both cases the global will be zero initialized. What then is the
>> point of clearing flag_zero_initialized_in_bss?
>
> Not all Ada programs are meant to run on a linux system.
if I understand right you agree that clearing this flag is pointless on
linux (and probably many other) systems, but that it is simpler to clear
it everywhere rather than only on those systems that need it?
Ciao,
Duncan.
More information about the Gcc-patches
mailing list