On 2007-03-28, Grant Edwards <[email protected]> wrote:
> The attached patches fix support for -ffunction-sections and
> -fdata-sections in mspgcc 3.2.3.
NB: A side effect of this is a change in the behavior when an
global, unintialize variable of the same name is defined in
multiple files. Before these patches, that worked as long
as the symbol was the same size in all files. This is a
fairly traditional but non-conforming behavior.
After this change, it will result in a linker error due to
a multiply defined symbol. That's conforming behavior, but
it is different than it used to be where the compiler
followed the old K&R/Fortran "common" paradigm of
"tentative" definitions.
--
Grant Edwards grante Yow! Inside, I'm already
at SOBBING!
visi.com