[U-Boot] [PATCH 0/2] fix little endian build

Xiangfu Liu
2010-08-31T04:45:13Z

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/31/2010 09:29 AM, Shinya Kuribayashi wrote:
> On 8/31/2010 10:00 AM, Xiangfu Liu wrote:
>> xiangfu at openmobilefree:~/u-boot/u-boot.git$ file u-boot
>> u-boot: ELF 32-bit LSB executable, MIPS, MIPS32 version 1 (SYSV), statically linked, not stripped
>
> My bad sorry. Could you provide output from readelf?
>
> $ readelf u-boot
xiangfu at openmobilefree:~/u-boot/u-boot.git$ readelf -h u-boot
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: MIPS R3000
Version: 0x1
Entry point address: 0xbfc00000
Start of program headers: 52 (bytes into file)
Start of section headers: 374000 (bytes into file)
Flags: 0x50001007, noreorder, pic, cpic, o32, mips32
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 2
Size of section headers: 40 (bytes)
Number of section headers: 26
Section header string table index: 23

- --
Best Regards
Xiangfu Liu
http://www.openmobilefree.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx8iNkACgkQRRAEFRxkgLS+8wCeKKPIJuwAVWb4QTF2wrsCfr27
T1IAniAZT18XFab/ZZ7nLDxshZplL+KD
=rRQF
-----END PGP SIGNATURE-----