[U-Boot-Users] Bug in malloc()?

Rune Torgersen runet at innovsys.com
Fri Oct 26 17:23:11 CEST 2007


> From: Timur Tabi [mailto:timur at freescale.com] 
> > BTW: I looked at the differences in 8568's u-boot.lds and 
> 8260 uboot.lds
> > There is a missing (*.fixup) in the .text segment. 
> 
> Is it missing from the 8568 lds or the 8260 lds?

8260 lds.

There are a lot of differences:
8568mds lds file, .text segment
  .text      :
  {
    cpu/mpc85xx/start.o	(.text)
    board/mpc8568mds/init.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)
    *(.text)
    *(.fixup)
    *(.got1)
   }
    _etext = .;
    PROVIDE (etext = .);
    .rodata    :
   {
    *(.rodata)
    *(.rodata1)
    *(.rodata.str1.4)
    *(.eh_frame)
  }


8260 lds file .text segment

  .text      :
  {
    cpu/mpc8260/start.o		(.text)
    *(.text)
    *(.got1)
    . = ALIGN(16);
    *(.rodata)
    *(.rodata1)
    *(.rodata.str1.4)
    *(.eh_frame)
  }




More information about the U-Boot mailing list