commit | 3c759ac4bc3882d6f3d04587c7bc23bebd5a429c | [log] [tgz] |
---|---|---|
author | Ladislav Michl <Ladislav.Michl@seznam.cz> | Mon Feb 08 14:15:15 2010 -0500 |
committer | Tom Rix <Tom.Rix@windriver.com> | Sun Mar 07 12:36:34 2010 -0600 |
tree | 7e71b53d853cdf4b432d9aaa6cc8e139dd4dc9e4 | |
parent | 7333d96bc987f1233a9b78d1c53ef35a500f3ea4 [diff] |
NetStar: eeprom - undefined reference to `memset' Defining partially initialized struct eth_device on stack means gcc has to zero out it, and some gcc versions optimize this with an implicit call to memset. Move definition to data section to avoid that (it has also nice side effect that we need not to pass it to helper functions anymore) Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>