This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 16th, 2011  |  syntax: None  |  size: 0.83 KB  |  views: 276  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. ENTRY(start)
  2. OUTPUT_FORMAT(elf32-littlearm)
  3. OUTPUT_ARCH(arm)
  4. STARTUP(crt0.o)
  5.  
  6. MEMORY
  7. {
  8.     OCRAM : ORIGIN = 0x0, LENGTH = 0x8000
  9.     SDRAM : ORIGIN = 0x40000000, LENGTH = 0x20000000
  10. }
  11.  
  12. SECTIONS
  13. {
  14.     .vectors :
  15.     {
  16.         *(.vectors*);
  17.         . = ALIGN(0x4);
  18.     } > OCRAM
  19.    
  20.     .octext :
  21.     {
  22.         *(.octext)
  23.         *(.init.text)
  24.         *(.init.data*)
  25.         *(.init.rodata*)
  26.         . = ALIGN(0x4);
  27.     } > OCRAM
  28.  
  29.     .sdtext :
  30.     {
  31.         *(.text)
  32.         *(.data*)
  33.         *(.rodata*)
  34.         . = ALIGN(0x4);
  35.     } > SDRAM
  36.  
  37.     .stack :
  38.     {
  39.        *(.stack)
  40.        stackbegin = .;
  41.        . += 0x2000;
  42.        stackend = .;
  43.     } > OCRAM
  44.  
  45.     .bss (NOLOAD) :
  46.     {
  47.         *(.bss)
  48.         . = ALIGN(0x4);
  49.     } > OCRAM
  50.  
  51.     /DISCARD/ :
  52.     {
  53.         *(.eh_frame)
  54.     }
  55. }
clone this paste RAW Paste Data