[U-Boot-Users] how to modify my ld scripts--the detail!

Joe lgxue at yahoo.com
Mon Oct 27 12:16:33 CET 2003


Dear Wolfgang Denk:

    This is my scripts after modified!
 
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm",
"elf32-littlearm")
OUTPUT_ARCH(arm)
ENTRY(_start)
SECTIONS
{
        . = 0x00000000;
        . = . + 0x10000; /*as a test,but it seem no
efect to ppcboot.bin */
        . = ALIGN(4);
        .text      :
        {
          cpu/arm720t/start.o   (.text)
          *(.text)
        }

        . = ALIGN(4);
        .rodata : { *(.rodata) }

        . = ALIGN(4);
        .data : { *(.data) }
        . = ALIGN(4);
        .got : { *(.got) }

        armboot_end_data = .;

        . = ALIGN(4);
        .bss : { *(.bss) }

        . = 0x00014000; /* as you say*/

         .ppcenv       :
        {
        common/environment.o (.ppcenv)
        }


        armboot_end = .;
}

    It do not  work! I am crazy!


__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/




More information about the U-Boot mailing list