diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2011-01-04 12:39:16 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-05 04:25:06 +0100 |
commit | 1075c4ef707ca83afbeb0950094436eb0245ec86 (patch) | |
tree | 4634a2876305271ab09d0fed2e7f3ff5080a22b2 /arch/xtensa | |
parent | sparc: add $BITS to piggyback arguments (diff) | |
download | linux-1075c4ef707ca83afbeb0950094436eb0245ec86.tar.xz linux-1075c4ef707ca83afbeb0950094436eb0245ec86.zip |
sparc: fix tftpboot.img for sparc64 on little-endian host
piggyback_32 adapted to support sparc64:
- locating "HdrS" differs for sparc and sparc64
- sparc64 updates a_text, a_data + a_bss in the final a.out header
Updated Makefile to use piggyback_32 for sparc64.
Deleted the now unused piggyback_64.c
piggyback_32.c is host endian neutral and works on both
little-endian and big-endian hosts.
This fixes a long standing bug where sparc64 could not
generate tftpboot.img on a x86 host.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/xtensa')
0 files changed, 0 insertions, 0 deletions