diff options
author | Anders Kaseorg <[email protected]> | 2009-05-03 22:02:55 +0200 |
---|---|---|
committer | Sam Ravnborg <[email protected]> | 2009-05-04 13:05:03 +0200 |
commit | 7d875a02864a35532543897195dfea2235815df8 (patch) | |
tree | 77949e1c62598f76b0921e593c81837d936869ed /net/lapb/lapb_in.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 <[email protected]>
Reported-by: Sean MacLennan <[email protected]>
Tested-by: Sean MacLennan <[email protected]>
Signed-off-by: Sam Ravnborg <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions