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  -  FREEBSD11  -  FREEBSD10  -  FREEBSD9  -  FREEBSD92  -  FREEBSD91  -  FREEBSD90  -  FREEBSD8  -  FREEBSD82  -  FREEBSD81  -  FREEBSD80  -  FREEBSD7  -  FREEBSD74  -  FREEBSD73  -  FREEBSD72  -  FREEBSD71  -  FREEBSD70  -  FREEBSD6  -  FREEBSD64  -  FREEBSD63  -  FREEBSD62  -  FREEBSD61  -  FREEBSD60  -  FREEBSD5  -  FREEBSD55  -  FREEBSD54  -  FREEBSD53  -  FREEBSD52  -  FREEBSD51  -  FREEBSD50  -  FREEBSD4  -  FREEBSD3  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 /* $FreeBSD: stable/11/sys/conf/ldscript.arm 317145 2017-04-19 15:33:24Z emaste $ */
    2 OUTPUT_ARCH(arm)
    3 ENTRY(_start)
    4 
    5 SEARCH_DIR(/usr/lib);
    6 SECTIONS
    7 {
    8   /* Read-only sections, merged into text segment: */
    9   . = KERNVIRTADDR + SIZEOF_HEADERS;
   10   .text      :
   11   {
   12     *(.text)
   13     *(.stub)
   14     /* .gnu.warning sections are handled specially by elf32.em.  */
   15     *(.gnu.warning)
   16     *(.gnu.linkonce.t*)
   17   } =0x9090
   18   _etext = .;
   19   PROVIDE (etext = .);
   20   .fini      : { *(.fini)    } =0x9090
   21   .rodata    : { *(.rodata) *(.gnu.linkonce.r*) }
   22   .rodata1   : { *(.rodata1) }
   23    .interp     : { *(.interp)   }
   24   .hash          : { *(.hash)           }
   25   .dynsym        : { *(.dynsym)         }
   26   .dynstr        : { *(.dynstr)         }
   27   .gnu.version   : { *(.gnu.version)    }
   28   .gnu.version_d   : { *(.gnu.version_d)        }
   29   .gnu.version_r   : { *(.gnu.version_r)        }
   30   .rel.text      :
   31     { *(.rel.text) *(.rel.gnu.linkonce.t*) }
   32   .rela.text     :
   33     { *(.rela.text) *(.rela.gnu.linkonce.t*) }
   34   .rel.data      :
   35     { *(.rel.data) *(.rel.gnu.linkonce.d*) }
   36   .rela.data     :
   37     { *(.rela.data) *(.rela.gnu.linkonce.d*) }
   38   .rel.rodata    :
   39     { *(.rel.rodata) *(.rel.gnu.linkonce.r*) }
   40   .rela.rodata   :
   41     { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
   42   .rel.got       : { *(.rel.got)                }
   43   .rela.got      : { *(.rela.got)               }
   44   .rel.ctors     : { *(.rel.ctors)      }
   45   .rela.ctors    : { *(.rela.ctors)     }
   46   .rel.dtors     : { *(.rel.dtors)      }
   47   .rela.dtors    : { *(.rela.dtors)     }
   48   .rel.init      : { *(.rel.init)       }
   49   .rela.init     : { *(.rela.init)      }
   50   .rel.fini      : { *(.rel.fini)       }
   51   .rela.fini     : { *(.rela.fini)      }
   52   .rel.bss       : { *(.rel.bss)                }
   53   .rela.bss      : { *(.rela.bss)               }
   54   .rel.plt       : { *(.rel.plt)                }
   55   .rela.plt      : { *(.rela.plt)               }
   56   .init          : { *(.init)   } =0x9090
   57   .plt      : { *(.plt) }
   58 
   59   . = ALIGN(4);
   60   _extab_start = .;
   61   PROVIDE(extab_start = .);
   62   .ARM.extab : { *(.ARM.extab) }
   63   _extab.end = .;
   64   PROVIDE(extab_end = .);
   65 
   66   _exidx_start = .;
   67   PROVIDE(exidx_start = .);
   68   .ARM.exidx : { *(.ARM.exidx) }
   69   _exidx_end = .;
   70   PROVIDE(exidx_end = .);
   71 
   72   /* Adjust the address for the data segment.  We want to adjust up to
   73      the same address within the page on the next page up.  */
   74   . = ALIGN(0x1000) + (. & (0x1000 - 1)) ; 
   75   .data    :
   76   {
   77     *(.data)
   78     *(.gnu.linkonce.d*)
   79   }
   80   .data1   : { *(.data1) }
   81   . = ALIGN(32 / 8);
   82   _start_ctors = .;
   83   PROVIDE (start_ctors = .);
   84   .ctors         :
   85   {
   86     *(.ctors)
   87   }
   88   _stop_ctors = .;
   89   PROVIDE (stop_ctors = .);
   90   .dtors         :
   91   {
   92     *(.dtors)
   93   }
   94   .got           : { *(.got.plt) *(.got) }
   95   .dynamic       : { *(.dynamic) }
   96   /* We want the small data sections together, so single-instruction offsets
   97      can access them all, and initialized data all before uninitialized, so
   98      we can shorten the on-disk segment size.  */
   99   .sdata     : { *(.sdata) }
  100   _edata  =  .;
  101   PROVIDE (edata = .);
  102   __bss_start = .;
  103   .sbss      : { *(.sbss) *(.scommon) }
  104   .bss       :
  105   {
  106    *(.dynbss)
  107    *(.bss)
  108    *(COMMON)
  109    . = ALIGN(32 / 8);
  110    _ebss = .;
  111    /* A section for the initial page table, it doesn't need to be in the
  112       kernel file, however unlike normal .bss entries should not be zeroed
  113       out as we use it before the .bss section is cleared. */
  114    *(.init_pagetable)
  115   }
  116   . = ALIGN(32 / 8);
  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 }

Cache object: 585e433f8491422f9854566b1969484d


[ 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.