[U-Boot-Users] [PATCH] mpc85xx: Update linker scripts for Freescale boards
Kumar Gala
galak at kernel.crashing.org
Wed Jul 30 21:14:56 CEST 2008
On Jul 30, 2008, at 11:07 AM, Wolfgang Denk wrote:
> In message <Pine.LNX.4.64.0807301045330.6787 at blarg.am.freescale.net>
> you wrote:
>>
>> .text :
>> {
>> cpu/mpc85xx/start.o (.text)
>> - cpu/mpc85xx/traps.o (.text)
>> - cpu/mpc85xx/interrupts.o (.text)
>> - cpu/mpc85xx/cpu_init.o (.text)
>> - cpu/mpc85xx/cpu.o (.text)
>> - cpu/mpc85xx/speed.o (.text)
>> - cpu/mpc85xx/pci.o (.text)
>> - common/dlmalloc.o (.text)
>> - lib_generic/crc32.o (.text)
>> - lib_ppc/extable.o (.text)
>> - lib_generic/zlib.o (.text)
>> + drivers/bios_emulator/atibios.o (.text)
>> *(.text)
>
> When you exclude all the other objects here, then why do you have to
> include atibios.o ?
Ok, the issue is that the atibios/x86 emu was causing _end not to be 4-
byte aligned and by putting in earlier it would get aligned for us.
I've posted a new patch that adds a proper ALIGN for _end and dropped
the explicit listing of atibios.o and start.o since they aren't needed.
- k
More information about the U-Boot
mailing list