For reference:
The fel-sdboot.bin I compiled myself was also done with a Gentoo
cross-compiler
sunxi-tools # armv7a-hardfloat-linux-gnueabi-gcc -v
Using built-in specs.
COLLECT_GCC=/usr/i686-pc-linux-gnu/armv7a-hardfloat-linux-gnueabi/gcc-bin/4.8.3/armv7a-hardfloat-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/armv7a-hardfloat-linux-gnueabi/4.8.3/lto-wrapper
Target: armv7a-hardfloat-linux-gnueabi
Configured with:
/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-4.8.3/work/gcc-4.8.3/configure
--host=i686-pc-linux-gnu --target=armv7a-hardfloat-linux-gnueabi
--build=i686-pc-linux-gnu --prefix=/usr
--bindir=/usr/i686-pc-linux-gnu/armv7a-hardfloat-linux-gnueabi/gcc-bin/4.8.3
--includedir=/usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.8.3/include
--datadir=/usr/share/gcc-data/armv7a-hardfloat-linux-gnueabi/4.8.3
--mandir=/usr/share/gcc-data/armv7a-hardfloat-linux-gnueabi/4.8.3/man
--infodir=/usr/share/gcc-data/armv7a-hardfloat-linux-gnueabi/4.8.3/info
--with-gxx-include-dir=/usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.8.3/include/g++-v4
--with-python-dir=/share/gcc-data/armv7a-hardfloat-linux-gnueabi/4.8.3/python
--enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt
--disable-werror --with-system-zlib --enable-nls
--without-included-gettext --enable-checking=release
--with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.8.3
p1.1, pie-0.5.9' --enable-libstdcxx-time
--enable-poison-system-directories
--with-sysroot=/usr/armv7a-hardfloat-linux-gnueabi --disable-bootstrap
--enable-__cxa_atexit --enable-clocale=gnu --disable-multilib
--disable-altivec --disable-fixed-point --with-float=hard
--with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16
--disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp
--enable-lto --without-cloog --enable-libsanitizer
Thread model: posix
gcc version 4.8.3 (Gentoo 4.8.3 p1.1, pie-0.5.9)
Straightforward compilation (without any special options) seems to
produce code that's identical to the one that Siarhei already listed:
sunxi-tools # armv7a-hardfloat-linux-gnueabi-gcc -c fel-sdboot.c
sunxi-tools # armv7a-hardfloat-linux-gnueabi-objdump -d fel-sdboot.o
fel-sdboot.o: file format elf32-littlearm
Disassembly of section .text:
00000000 <_start>:
0: e92d4800 push {fp, lr}
4: e28db004 add fp, sp, #4
8: e3a03020 mov r3, #32
c: e34f3fff movt r3, #65535 ; 0xffff
10: e12fff33 blx r3
14: e8bd8800 pop {fp, pc}
Regards, B. Nortmann
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.