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

Joe lgxue at yahoo.com
Mon Oct 27 11:14:40 CET 2003


dear Wolf Denk:
This is my scripts 
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm",
"elf32-littlearm")
OUTPUT_ARCH(arm)
ENTRY(_start)
SECTIONS
{
        . = 0x00000000;

        . = 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) }

         . = ALIGN(76 * 1024);
         .ppcenv       :
        {
        common/environment.o (.ppcenv)
        }


        armboot_end = .;
}

and my board config files 
#define #define CFG_ENV_ADDR            (PHYS_FLASH_1
+ 0x13000)

Is it wrong?  What i need to do?

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




More information about the U-Boot mailing list