[U-Boot] ARM: problem with linker option -pie

Reinhard Meyer u-boot at emk-elektronik.de
Sun Oct 31 09:40:28 CET 2010


Dear Albert ARIBAUD,

> CS toolchain emits lots of 
> warnings about type-punned pointer dereferencing, though none in nand 
> code, and I think these are not related to our issue.

Same with gcc 4.3.5

> I will now analyze the patch code to see if it contains relocations that 
> should have applied but did not, or if it misses relocations altogether. 
> My currently favored bet right now is that BSS may have gotten its own 
> relocation table in later toolchains, but that's only a bet.

u-boot.bin is 257KiB with 4.2.4 but only 251KiB with 4.3.5 !
Either its much better optimised or the relocation info shrunk which
_might_ indicate something is missing in it...

Compiled with 4.3.5 last output is the "DRAM: 64 MiB" message. Then silence.

I suppose you don't need u-boot.elf from me, if otherwise, ping me:)

Best Regards,
Reinhard



More information about the U-Boot mailing list