Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

LD for samsung S3c4510b

LD for samsung S3c4510b

2005-12-02 by latheef

Following is the Linker script for samsung S3C4510B.Can anyone explain how it is interpreted.

SECTIONS
{
 Image_RO_Base = 0x0;
 Image_RO_Limit = 0x0200000;
 . = 0x01300000;
 .text : { *(.text) }
 Image_RW_Base = .;
 Image_RW_Limit = .;
 .data : { *(.data) }
 Image_ZI_Base = .;
 .bss : { *(.bss) }
 Image_ZI_Limit = .;
 __bss_start__ = .;
 __bss_end__ = .;
 __EH_FRAME_BEGIN__ = .;
 __EH_FRAME_END__ = .;
PROVIDE (__stack = .);
 end = .;
 _end = .;
 .debug_info     0 : { *(.debug_info)  }
  .debug_line  0 : { *(.debug_line)  } 
    .debug_abbrev   0 : { *(.debug_abbrev)}
    .debug_frame    0 : { *(.debug_frame) }
}





Thanks

Latheef


[Non-text portions of this message have been removed]

Re: [lpc2000] LD for samsung S3c4510b

2005-12-02 by Tom Walsh

latheef wrote:

>Following is the Linker script for samsung S3C4510B.Can anyone explain how it is interpreted.
>
>  
>
Sure: 'info ld'  has lots of information about linker scripts.

There is a whole section of the ld info pages just about linker scripts!

RTFM


>SECTIONS
>{
> Image_RO_Base = 0x0;
> Image_RO_Limit = 0x0200000;
> . = 0x01300000;
> .text : { *(.text) }
> Image_RW_Base = .;
> Image_RW_Limit = .;
> .data : { *(.data) }
> Image_ZI_Base = .;
> .bss : { *(.bss) }
> Image_ZI_Limit = .;
> __bss_start__ = .;
> __bss_end__ = .;
> __EH_FRAME_BEGIN__ = .;
> __EH_FRAME_END__ = .;
>PROVIDE (__stack = .);
> end = .;
> _end = .;
> .debug_info     0 : { *(.debug_info)  }
>  .debug_line  0 : { *(.debug_line)  } 
>    .debug_abbrev   0 : { *(.debug_abbrev)}
>    .debug_frame    0 : { *(.debug_frame) }
>}
>
>
>
>
>
>Thanks
>
>Latheef
>
>
>[Non-text portions of this message have been removed]
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>  
>


-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.