
17 Jan
2008
17 Jan
'08
10:05 a.m.
please update .lds to the latest board/dbau1x00/u-boot.lds, etc. I'd like to see . = .;
What does this do ?
_gp = ALIGN(16) + 0x7ff0;
It employs the output of `(CROSS_COMPILE)ld --verbose. It's a normal link script, so I just follow it.
Any opinions on using a single ldscript per platform, eventually preprocessed with gcc -E to allow for board-specific differences? At least for MIPS, all scripts are essentally the same.
Looking at cpu/mpc5xxx/u-boot.lds, it seems good. Or something like linux/arch/mips/kernel/vmlinux.lds.S is good alternative (I don't know whether it's possible or not, though).
Shinya