I've just noticed that omitting all options from the compilation alters the binary. With the options explicitly listed in fel-sdboot.c, I get this:

sunxi-tools # armv7a-hardfloat-linux-gnueabi-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -nostdinc -mno-thumb-interwork -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fno-toplevel-reorder fel-sdboot.c -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:   e92d4008        push    {r3, lr}
   4:   e59f3004        ldr     r3, [pc, #4]    ; 10 <_start+0x10>
   8:   e12fff33        blx     r3
   c:   e8bd8008        pop     {r3, pc}
  10:   ffff0020        .word   0xffff0020

--
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 linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to