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

Version: -  FREEBSD  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  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: releng/10.4/sys/conf/ldscript.powerpc 217656 2011-01-20 19:24:50Z imp $ */
    2 
    3 OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc", "elf32-powerpc")
    4 OUTPUT_ARCH(powerpc)
    5 ENTRY(__start)
    6 SEARCH_DIR(/usr/lib);
    7 PROVIDE (__stack = 0);
    8 SECTIONS
    9 {
   10   /* Read-only sections, merged into text segment: */
   11 
   12   . = kernbase + SIZEOF_HEADERS;
   13 
   14   .text      :
   15   {
   16     *(.text)
   17     *(.stub)
   18     /* .gnu.warning sections are handled specially by elf32.em.  */
   19     *(.gnu.warning)
   20     *(.gnu.linkonce.t*)
   21   } =0
   22   _etext = .;
   23   PROVIDE (etext = .);
   24 
   25   .interp     : { *(.interp)    }
   26   .hash          : { *(.hash)           }
   27   .dynsym        : { *(.dynsym)         }
   28   .dynstr        : { *(.dynstr)         }
   29   .gnu.version   : { *(.gnu.version)    }
   30   .gnu.version_d   : { *(.gnu.version_d)        }
   31   .gnu.version_r   : { *(.gnu.version_r)        }
   32   .rela.text     :
   33     { *(.rela.text) *(.rela.gnu.linkonce.t*) }
   34   .rela.data     :
   35     { *(.rela.data) *(.rela.gnu.linkonce.d*) }
   36   .rela.rodata   :
   37     { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
   38   .rela.got      : { *(.rela.got)               }
   39   .rela.got1     : { *(.rela.got1)              }
   40   .rela.got2     : { *(.rela.got2)              }
   41   .rela.ctors    : { *(.rela.ctors)     }
   42   .rela.dtors    : { *(.rela.dtors)     }
   43   .rela.init     : { *(.rela.init)      }
   44   .rela.fini     : { *(.rela.fini)      }
   45   .rela.bss      : { *(.rela.bss)               }
   46   .rela.plt      : { *(.rela.plt)               }
   47   .rela.sdata    : { *(.rela.sdata)             }
   48   .rela.sbss     : { *(.rela.sbss)              }
   49   .rela.sdata2   : { *(.rela.sdata2)            }
   50   .rela.sbss2    : { *(.rela.sbss2)             }
   51 
   52   .init      : { *(.init)    } =0
   53   .fini      : { *(.fini)    } =0
   54   .rodata    : { *(.rodata) *(.gnu.linkonce.r*) }
   55   .rodata1   : { *(.rodata1) }
   56   .sdata2    : { *(.sdata2)  }
   57   .sbss2     : { *(.sbss2)   }
   58   /* Adjust the address for the data segment to the next page up. */
   59   . = ((. + 0x1000) & ~(0x1000 - 1));
   60   .data    :
   61   {
   62     *(.data)
   63     *(.gnu.linkonce.d*)
   64     CONSTRUCTORS
   65   }
   66   .data1   : { *(.data1) }
   67   .got1           : { *(.got1) }
   68   .dynamic        : { *(.dynamic) }
   69   /* Put .ctors and .dtors next to the .got2 section, so that the pointers
   70      get relocated with -mrelocatable. Also put in the .fixup pointers.
   71      The current compiler no longer needs this, but keep it around for 2.7.2  */
   72                 PROVIDE (_GOT2_START_ = .);
   73   .got2           :  { *(.got2) }
   74                 PROVIDE (__CTOR_LIST__ = .);
   75   .ctors          : { *(.ctors) }
   76                 PROVIDE (__CTOR_END__ = .);
   77                 PROVIDE (__DTOR_LIST__ = .);
   78   .dtors          : { *(.dtors) }
   79                 PROVIDE (__DTOR_END__ = .);
   80                 PROVIDE (_FIXUP_START_ = .);
   81   .fixup          : { *(.fixup) }
   82                 PROVIDE (_FIXUP_END_ = .);
   83                 PROVIDE (_GOT2_END_ = .);
   84                 PROVIDE (_GOT_START_ = .);
   85   .got            : { *(.got) }
   86   .got.plt        : { *(.got.plt) }
   87                 PROVIDE (_GOT_END_ = .);
   88   /* We want the small data sections together, so single-instruction offsets
   89      can access them all, and initialized data all before uninitialized, so
   90      we can shorten the on-disk segment size.  */
   91   .sdata     : { *(.sdata) }
   92   _edata  =  .;
   93   PROVIDE (edata = .);
   94   .sbss      :
   95   {
   96     PROVIDE (__sbss_start = .);
   97     *(.sbss)
   98     *(.scommon)
   99     *(.dynsbss)
  100     PROVIDE (__sbss_end = .);
  101   }
  102   .plt   : { *(.plt) }
  103   .bss       :
  104   {
  105    PROVIDE (__bss_start = .);
  106    *(.dynbss)
  107    *(.bss)
  108    *(COMMON)
  109   }
  110   _end = . ;
  111   PROVIDE (end = .);
  112   /* Stabs debugging sections.  */
  113   .stab 0 : { *(.stab) }
  114   .stabstr 0 : { *(.stabstr) }
  115   /* DWARF debug sections.
  116      Symbols in the DWARF debugging sections are relative to the beginning
  117      of the section so we begin them at 0.  */
  118   /* DWARF 1 */
  119   .debug          0 : { *(.debug) }
  120   .line           0 : { *(.line) }
  121   /* GNU DWARF 1 extensions */
  122   .debug_srcinfo  0 : { *(.debug_srcinfo) }
  123   .debug_sfnames  0 : { *(.debug_sfnames) }
  124   /* DWARF 1.1 and DWARF 2 */
  125   .debug_aranges  0 : { *(.debug_aranges) }
  126   .debug_pubnames 0 : { *(.debug_pubnames) }
  127   /* DWARF 2 */
  128   .debug_info     0 : { *(.debug_info) }
  129   .debug_abbrev   0 : { *(.debug_abbrev) }
  130   .debug_line     0 : { *(.debug_line) }
  131   .debug_frame    0 : { *(.debug_frame) }
  132   .debug_str      0 : { *(.debug_str) }
  133   .debug_loc      0 : { *(.debug_loc) }
  134   .debug_macinfo  0 : { *(.debug_macinfo) }
  135   /* SGI/MIPS DWARF 2 extensions */
  136   .debug_weaknames 0 : { *(.debug_weaknames) }
  137   .debug_funcnames 0 : { *(.debug_funcnames) }
  138   .debug_typenames 0 : { *(.debug_typenames) }
  139   .debug_varnames  0 : { *(.debug_varnames) }
  140   /* These must appear regardless of  .  */
  141 }
  142 

Cache object: e701fb015d7fe6d71c0a91222fbc342c


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