diff options
author | Anders Kaseorg <andersk@MIT.EDU> | 2009-05-03 22:02:55 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-05-04 13:05:03 +0200 |
commit | 7d875a02864a35532543897195dfea2235815df8 (patch) | |
tree | 77949e1c62598f76b0921e593c81837d936869ed /drivers/mfd/ucb1x00-ts.c | |
parent | b4348f32dae3cb6eb4bc21c7ed8f76c0b11e9d6a (diff) |
kbuild, modpost: fix unexpected non-allocatable section when cross compiling
The missing TO_NATIVE(sechdrs[i].sh_flags) was causing many
unexpected non-allocatable section warnings when cross-compiling
for an architecture with a different endianness.
Fix endianness of all the fields in the ELF header and
section headers, not just some of them so we are not
hit by this anohter time.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reported-by: Sean MacLennan <smaclennan@pikatech.com>
Tested-by: Sean MacLennan <smaclennan@pikatech.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'drivers/mfd/ucb1x00-ts.c')
0 files changed, 0 insertions, 0 deletions