fprom.lds
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:3k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. OUTPUT_FORMAT("elf64-ia64-little")
  2. OUTPUT_ARCH(ia64)
  3. ENTRY(_start)
  4. SECTIONS
  5. {
  6.   v = 0x0000000000000000 ; /* this symbol is here to make debugging with kdb easier... */
  7.   . = (0x000000000000000  + 0x100000) ;
  8.   _text = .;
  9.   .text : AT(ADDR(.text) - 0x0000000000000000 )
  10.     {
  11. *(__ivt_section)
  12. /* these are not really text pages, but the zero page needs to be in a fixed location: */
  13. *(__special_page_section)
  14. __start_gate_section = .;
  15. *(__gate_section)
  16. __stop_gate_section = .;
  17. *(.text)
  18.     }
  19.   /* Global data */
  20.   _data = .;
  21.   .rodata : AT(ADDR(.rodata) - 0x0000000000000000 )
  22. { *(.rodata) *(.rodata.*) }
  23.   .opd : AT(ADDR(.opd) - 0x0000000000000000 )
  24. { *(.opd) }
  25.   .data : AT(ADDR(.data) - 0x0000000000000000 )
  26. { *(.data) *(.gnu.linkonce.d*) CONSTRUCTORS }
  27.   __gp = ALIGN (8) + 0x200000;
  28.   .got : AT(ADDR(.got) - 0x0000000000000000 )
  29. { *(.got.plt) *(.got) }
  30.   /* We want the small data sections together, so single-instruction offsets
  31.      can access them all, and initialized data all before uninitialized, so
  32.      we can shorten the on-disk segment size.  */
  33.   .sdata : AT(ADDR(.sdata) - 0x0000000000000000 )
  34. { *(.sdata) }
  35.   _edata  =  .;
  36.   _bss = .;
  37.   .sbss : AT(ADDR(.sbss) - 0x0000000000000000 )
  38. { *(.sbss) *(.scommon) }
  39.   .bss : AT(ADDR(.bss) - 0x0000000000000000 )
  40. { *(.bss) *(COMMON) }
  41.   . = ALIGN(64 / 8);
  42.   _end = .;
  43.   /* Sections to be discarded */
  44.   /DISCARD/ : {
  45. *(.text.exit)
  46. *(.data.exit)
  47. }
  48.   /* Stabs debugging sections.  */
  49.   .stab 0 : { *(.stab) }
  50.   .stabstr 0 : { *(.stabstr) }
  51.   .stab.excl 0 : { *(.stab.excl) }
  52.   .stab.exclstr 0 : { *(.stab.exclstr) }
  53.   .stab.index 0 : { *(.stab.index) }
  54.   .stab.indexstr 0 : { *(.stab.indexstr) }
  55.   /* DWARF debug sections.
  56.      Symbols in the DWARF debugging sections are relative to the beginning
  57.      of the section so we begin them at 0.  */
  58.   /* DWARF 1 */
  59.   .debug          0 : { *(.debug) }
  60.   .line           0 : { *(.line) }
  61.   /* GNU DWARF 1 extensions */
  62.   .debug_srcinfo  0 : { *(.debug_srcinfo) }
  63.   .debug_sfnames  0 : { *(.debug_sfnames) }
  64.   /* DWARF 1.1 and DWARF 2 */
  65.   .debug_aranges  0 : { *(.debug_aranges) }
  66.   .debug_pubnames 0 : { *(.debug_pubnames) }
  67.   /* DWARF 2 */
  68.   .debug_info     0 : { *(.debug_info) }
  69.   .debug_abbrev   0 : { *(.debug_abbrev) }
  70.   .debug_line     0 : { *(.debug_line) }
  71.   .debug_frame    0 : { *(.debug_frame) }
  72.   .debug_str      0 : { *(.debug_str) }
  73.   .debug_loc      0 : { *(.debug_loc) }
  74.   .debug_macinfo  0 : { *(.debug_macinfo) }
  75.   /* SGI/MIPS DWARF 2 extensions */
  76.   .debug_weaknames 0 : { *(.debug_weaknames) }
  77.   .debug_funcnames 0 : { *(.debug_funcnames) }
  78.   .debug_typenames 0 : { *(.debug_typenames) }
  79.   .debug_varnames  0 : { *(.debug_varnames) }
  80.   /* These must appear regardless of  .  */
  81.   /* Discard them for now since Intel SoftSDV cannot handle them.
  82.   .comment 0 : { *(.comment) }
  83.   .note 0 : { *(.note) }
  84.   */
  85.   /DISCARD/ : { *(.comment) }
  86.   /DISCARD/ : { *(.note) }
  87. }