The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/conf/ldscript.arm

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* $FreeBSD$ */
    2 OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
    3 OUTPUT_ARCH(arm)
    4 ENTRY(_start)
    5 
    6 SEARCH_DIR(/usr/lib);
    7 SECTIONS
    8 {
    9   /* Read-only sections, merged into text segment: */
   10   . = KERNVIRTADDR + SIZEOF_HEADERS;
   11   .text      :
   12   {
   13     *(.text)
   14     *(.stub)
   15     /* .gnu.warning sections are handled specially by elf32.em.  */
   16     *(.gnu.warning)
   17     *(.gnu.linkonce.t*)
   18   } =0x9090
   19   _etext = .;
   20   PROVIDE (etext = .);
   21   .fini      : { *(.fini)    } =0x9090
   22   .rodata    : { *(.rodata) *(.gnu.linkonce.r*) }
   23   .rodata1   : { *(.rodata1) }
   24    .interp     : { *(.interp)   }
   25   .hash          : { *(.hash)           }
   26   .dynsym        : { *(.dynsym)         }
   27   .dynstr        : { *(.dynstr)         }
   28   .gnu.version   : { *(.gnu.version)    }
   29   .gnu.version_d   : { *(.gnu.version_d)        }
   30   .gnu.version_r   : { *(.gnu.version_r)        }
   31   .rel.text      :
   32     { *(.rel.text) *(.rel.gnu.linkonce.t*) }
   33   .rela.text     :
   34     { *(.rela.text) *(.rela.gnu.linkonce.t*) }
   35   .rel.data      :
   36     { *(.rel.data) *(.rel.gnu.linkonce.d*) }
   37   .rela.data     :
   38     { *(.rela.data) *(.rela.gnu.linkonce.d*) }
   39   .rel.rodata    :
   40     { *(.rel.rodata) *(.rel.gnu.linkonce.r*) }
   41   .rela.rodata   :
   42     { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
   43   .rel.got       : { *(.rel.got)                }
   44   .rela.got      : { *(.rela.got)               }
   45   .rel.ctors     : { *(.rel.ctors)      }
   46   .rela.ctors    : { *(.rela.ctors)     }
   47   .rel.dtors     : { *(.rel.dtors)      }
   48   .rela.dtors    : { *(.rela.dtors)     }
   49   .rel.init      : { *(.rel.init)       }
   50   .rela.init     : { *(.rela.init)      }
   51   .rel.fini      : { *(.rel.fini)       }
   52   .rela.fini     : { *(.rela.fini)      }
   53   .rel.bss       : { *(.rel.bss)                }
   54   .rela.bss      : { *(.rela.bss)               }
   55   .rel.plt       : { *(.rel.plt)                }
   56   .rela.plt      : { *(.rela.plt)               }
   57   .init          : { *(.init)   } =0x9090
   58   .plt      : { *(.plt) }
   59 
   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(0x1000) + (. & (0x1000 - 1)) ; 
   63   .data    :
   64   {
   65     *(.data)
   66     *(.gnu.linkonce.d*)
   67     CONSTRUCTORS
   68   }
   69   .data1   : { *(.data1) }
   70   . = ALIGN(32 / 8);
   71   _start_ctors = .;
   72   PROVIDE (start_ctors = .);
   73   .ctors         :
   74   {
   75     *(.ctors)
   76   }
   77   _stop_ctors = .;
   78   PROVIDE (stop_ctors = .);
   79   .dtors         :
   80   {
   81     *(.dtors)
   82   }
   83   .got           : { *(.got.plt) *(.got) }
   84   .dynamic       : { *(.dynamic) }
   85   /* We want the small data sections together, so single-instruction offsets
   86      can access them all, and initialized data all before uninitialized, so
   87      we can shorten the on-disk segment size.  */
   88   .sdata     : { *(.sdata) }
   89   _edata  =  .;
   90   PROVIDE (edata = .);
   91   __bss_start = .;
   92   .sbss      : { *(.sbss) *(.scommon) }
   93   .bss       :
   94   {
   95    *(.dynbss)
   96    *(.bss)
   97    *(COMMON)
   98   }
   99   . = ALIGN(32 / 8);
  100   _end = . ;
  101   PROVIDE (end = .);
  102   /* Stabs debugging sections.  */
  103   .stab 0 : { *(.stab) }
  104   .stabstr 0 : { *(.stabstr) }
  105   .stab.excl 0 : { *(.stab.excl) }
  106   .stab.exclstr 0 : { *(.stab.exclstr) }
  107   .stab.index 0 : { *(.stab.index) }
  108   .stab.indexstr 0 : { *(.stab.indexstr) }
  109   .comment 0 : { *(.comment) }
  110   /* DWARF debug sections.
  111      Symbols in the DWARF debugging sections are relative to the beginning
  112      of the section so we begin them at 0.  */
  113   /* DWARF 1 */
  114   .debug          0 : { *(.debug) }
  115   .line           0 : { *(.line) }
  116   /* GNU DWARF 1 extensions */
  117   .debug_srcinfo  0 : { *(.debug_srcinfo) }
  118   .debug_sfnames  0 : { *(.debug_sfnames) }
  119   /* DWARF 1.1 and DWARF 2 */
  120   .debug_aranges  0 : { *(.debug_aranges) }
  121   .debug_pubnames 0 : { *(.debug_pubnames) }
  122   /* DWARF 2 */
  123   .debug_info     0 : { *(.debug_info) }
  124   .debug_abbrev   0 : { *(.debug_abbrev) }
  125   .debug_line     0 : { *(.debug_line) }
  126   .debug_frame    0 : { *(.debug_frame) }
  127   .debug_str      0 : { *(.debug_str) }
  128   .debug_loc      0 : { *(.debug_loc) }
  129   .debug_macinfo  0 : { *(.debug_macinfo) }
  130   /* SGI/MIPS DWARF 2 extensions */
  131   .debug_weaknames 0 : { *(.debug_weaknames) }
  132   .debug_funcnames 0 : { *(.debug_funcnames) }
  133   .debug_typenames 0 : { *(.debug_typenames) }
  134   .debug_varnames  0 : { *(.debug_varnames) }
  135   /* These must appear regardless of  .  */
  136 }

Cache object: ec710b1d97eefbac1fb89f6f71533982


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.