File:  [Qemu by Fabrice Bellard] / qemu / arm.ld
Revision 1.1.1.5 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 18:55:27 2018 UTC (3 years, 1 month ago) by root
Branches: qemu, MAIN
CVS tags: qemu1101, qemu1001, qemu1000, qemu0151, HEAD
qemu 0.15.1

    1: OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm",
    2: 	      "elf32-littlearm")
    3: OUTPUT_ARCH(arm)
    4: ENTRY(_start)
    5: SECTIONS
    6: {
    7:   /* Read-only sections, merged into text segment: */
    8:   . = 0x60000000 + SIZEOF_HEADERS;
    9:   .interp     : { *(.interp) 	}
   10:   .hash          : { *(.hash)		}
   11:   .dynsym        : { *(.dynsym)		}
   12:   .dynstr        : { *(.dynstr)		}
   13:   .gnu.version   : { *(.gnu.version)	}
   14:   .gnu.version_d   : { *(.gnu.version_d)	}
   15:   .gnu.version_r   : { *(.gnu.version_r)	}
   16:   .rel.text      :
   17:     { *(.rel.text) *(.rel.gnu.linkonce.t*) }
   18:   .rela.text     :
   19:     { *(.rela.text) *(.rela.gnu.linkonce.t*) }
   20:   .rel.data      :
   21:     { *(.rel.data) *(.rel.gnu.linkonce.d*) }
   22:   .rela.data     :
   23:     { *(.rela.data) *(.rela.gnu.linkonce.d*) }
   24:   .rel.rodata    :
   25:     { *(.rel.rodata) *(.rel.gnu.linkonce.r*) }
   26:   .rela.rodata   :
   27:     { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
   28:   .rel.got       : { *(.rel.got)		}
   29:   .rela.got      : { *(.rela.got)		}
   30:   .rel.ctors     : { *(.rel.ctors)	}
   31:   .rela.ctors    : { *(.rela.ctors)	}
   32:   .rel.dtors     : { *(.rel.dtors)	}
   33:   .rela.dtors    : { *(.rela.dtors)	}
   34:   .rel.init      : { *(.rel.init)	}
   35:   .rela.init     : { *(.rela.init)	}
   36:   .rel.fini      : { *(.rel.fini)	}
   37:   .rela.fini     : { *(.rela.fini)	}
   38:   .rel.bss       : { *(.rel.bss)		}
   39:   .rela.bss      : { *(.rela.bss)		}
   40:   .rel.plt       : { *(.rel.plt)		}
   41:   .rela.plt      : { *(.rela.plt)		}
   42:   .init          : { *(.init)	} =0x47ff041f
   43:   .text      :
   44:   {
   45:     *(.text)
   46:     /* .gnu.warning sections are handled specially by elf32.em.  */
   47:     *(.gnu.warning)
   48:     *(.gnu.linkonce.t*)
   49:   } =0x47ff041f
   50:   _etext = .;
   51:   PROVIDE (etext = .);
   52:   .fini      : { *(.fini)    } =0x47ff041f
   53:   .rodata    : { *(.rodata) *(.gnu.linkonce.r*) }
   54:   .rodata1   : { *(.rodata1) }
   55:   .ARM.extab   : { *(.ARM.extab* .gnu.linkonce.armextab.*) }
   56:    __exidx_start = .;
   57:   .ARM.exidx   : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) }
   58:    __exidx_end = .;
   59:   .reginfo : { *(.reginfo) }
   60:   /* Adjust the address for the data segment.  We want to adjust up to
   61:      the same address within the page on the next page up.  */
   62:   . = ALIGN(0x100000) + (. & (0x100000 - 1));
   63:   .data    :
   64:   {
   65:     *(.gen_code)
   66:     *(.data)
   67:     *(.gnu.linkonce.d*)
   68:     CONSTRUCTORS
   69:   }
   70:   .tbss           : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
   71:   .data1   : { *(.data1) }
   72:   .preinit_array     :
   73:   {
   74:     PROVIDE (__preinit_array_start = .);
   75:     KEEP (*(.preinit_array))
   76:     PROVIDE (__preinit_array_end = .);
   77:   }
   78:   .init_array     :
   79:   {
   80:      PROVIDE (__init_array_start = .);
   81:      KEEP (*(SORT(.init_array.*)))
   82:      KEEP (*(.init_array))
   83:      PROVIDE (__init_array_end = .);
   84:   }
   85:   .fini_array     :
   86:   {
   87:     PROVIDE (__fini_array_start = .);
   88:     KEEP (*(.fini_array))
   89:     KEEP (*(SORT(.fini_array.*)))
   90:     PROVIDE (__fini_array_end = .);
   91:   }
   92:   .ctors         :
   93:   {
   94:     *(.ctors)
   95:   }
   96:   .dtors         :
   97:   {
   98:     *(.dtors)
   99:   }
  100:   .plt      : { *(.plt)	}
  101:   .got           : { *(.got.plt) *(.got) }
  102:   .dynamic       : { *(.dynamic) }
  103:   /* We want the small data sections together, so single-instruction offsets
  104:      can access them all, and initialized data all before uninitialized, so
  105:      we can shorten the on-disk segment size.  */
  106:   .sdata     : { *(.sdata) }
  107:   _edata  =  .;
  108:   PROVIDE (edata = .);
  109:   __bss_start = .;
  110:   .sbss      : { *(.sbss) *(.scommon) }
  111:   .bss       :
  112:   {
  113:    *(.dynbss)
  114:    *(.bss)
  115:    *(COMMON)
  116:   }
  117:   _end = . ;
  118:   PROVIDE (end = .);
  119:   /* Stabs debugging sections.  */
  120:   .stab 0 : { *(.stab) }
  121:   .stabstr 0 : { *(.stabstr) }
  122:   .stab.excl 0 : { *(.stab.excl) }
  123:   .stab.exclstr 0 : { *(.stab.exclstr) }
  124:   .stab.index 0 : { *(.stab.index) }
  125:   .stab.indexstr 0 : { *(.stab.indexstr) }
  126:   .comment 0 : { *(.comment) }
  127:   /* DWARF debug sections.
  128:      Symbols in the DWARF debugging sections are relative to the beginning
  129:      of the section so we begin them at 0.  */
  130:   /* DWARF 1 */
  131:   .debug          0 : { *(.debug) }
  132:   .line           0 : { *(.line) }
  133:   /* GNU DWARF 1 extensions */
  134:   .debug_srcinfo  0 : { *(.debug_srcinfo) }
  135:   .debug_sfnames  0 : { *(.debug_sfnames) }
  136:   /* DWARF 1.1 and DWARF 2 */
  137:   .debug_aranges  0 : { *(.debug_aranges) }
  138:   .debug_pubnames 0 : { *(.debug_pubnames) }
  139:   /* DWARF 2 */
  140:   .debug_info     0 : { *(.debug_info) }
  141:   .debug_abbrev   0 : { *(.debug_abbrev) }
  142:   .debug_line     0 : { *(.debug_line) }
  143:   .debug_frame    0 : { *(.debug_frame) }
  144:   .debug_str      0 : { *(.debug_str) }
  145:   .debug_loc      0 : { *(.debug_loc) }
  146:   .debug_macinfo  0 : { *(.debug_macinfo) }
  147:   /* SGI/MIPS DWARF 2 extensions */
  148:   .debug_weaknames 0 : { *(.debug_weaknames) }
  149:   .debug_funcnames 0 : { *(.debug_funcnames) }
  150:   .debug_typenames 0 : { *(.debug_typenames) }
  151:   .debug_varnames  0 : { *(.debug_varnames) }
  152:   /* These must appear regardless of  .  */
  153: }

unix.superglobalmegacorp.com