~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/arch/um/link.ld

Version: ~ [ 0.6-2.3.46 ] ~
Architecture: ~ [ um ] ~

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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.