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

Linux/Unix编程

开发平台:

Unix_Linux

  1. /* ld script to make hppa Linux kernel */
  2. OUTPUT_ARCH(hppa)
  3. ENTRY(_stext)
  4. SECTIONS
  5. {
  6.   . = 0x10100000;
  7.   _text = .; /* Text and read-only data */
  8.   .text BLOCK(16) : {
  9. *(.text*)
  10. *(.fixup)
  11. *(.lock.text) /* out-of-line lock text */
  12. *(.gnu.warning)
  13. } = 0
  14.   . = ALIGN(16);
  15.   .rodata : { *(.rodata) *(.rodata.*) }
  16.   .kstrtab : { *(.kstrtab) }
  17.   _etext = .; /* End of text section */
  18.   
  19.   .data BLOCK(8192) : { /* Data without special */
  20. data_start = .;
  21. *(.data)
  22. }
  23.   . = ALIGN(16); /* Exception table */
  24.   __start___ex_table = .;
  25.   __ex_table : { *(__ex_table) }
  26.   __stop___ex_table = .;
  27.   __start___ksymtab = .; /* Kernel symbol table */
  28.   __ksymtab : { *(__ksymtab) }
  29.   __stop___ksymtab = .;
  30.   . = ALIGN(16384);
  31.   __init_begin = .;
  32.   .init.text : { *(.init.text) }
  33.   .init.data : { *(.init.data) }
  34.   . = ALIGN(16);
  35.   __setup_start = .;
  36.   .setup.init : { *(.setup.init) }
  37.   __setup_end = .;
  38.   __initcall_start = .;
  39.   .initcall.init : { *(.initcall.init) } 
  40.   __initcall_end = .;
  41.   __init_end = .;
  42.   init_task BLOCK(16384) : { *(init_task) }  /* The initial task and kernel stack */
  43.   init_istack BLOCK(32768) : { *(init_istack) }  /* The initial interrupt stack */
  44.   _edata = .; /* End of data section */
  45.   .bss : { *(.bss) *(COMMON) } /* BSS */
  46.   .PARISC.unwind : { *(.PARISC.unwind) }
  47.   _end = . ;
  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.   .comment 0 : { *(.comment) }
  56.   .note 0 : { *(.note) }
  57. }