
6 Nov
2006
6 Nov
'06
8:54 p.m.
Scott Wood wrote:
The benefit is that bss-related bugs in the pre-RAM code go away and stay away, and that ugliness such as having to specify __attribute__ ((section ("data"))) whenever the value is zero also goes away.
For the record, the only use of "section (data)" is in the I2C code I just wrote. And this code can be eliminated if we change i2c_read() and i2c_write() to take the bus number as a parameter. Although I should we should implement that change, doing so would require changing 91 files.
--
Timur Tabi
Linux Kernel Developer @ Freescale