• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1OUTPUT_FORMAT("elf64-alpha", "elf64-alpha",
2	      "elf64-alpha")
3OUTPUT_ARCH(alpha)
4ENTRY(__start)
5SECTIONS
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  .reginfo : { *(.reginfo) }
56  /* Adjust the address for the data segment.  We want to adjust up to
57     the same address within the page on the next page up.  */
58  . = ALIGN(0x100000) + (. & (0x100000 - 1));
59  .data    :
60  {
61    *(.data)
62    *(.gnu.linkonce.d*)
63    CONSTRUCTORS
64  }
65  .data1   : { *(.data1) }
66  .ctors         :
67  {
68    *(.ctors)
69  }
70  .dtors         :
71  {
72    *(.dtors)
73  }
74  .plt      : { *(.plt)	}
75  .got           : { *(.got.plt) *(.got) }
76  .dynamic       : { *(.dynamic) }
77  /* We want the small data sections together, so single-instruction offsets
78     can access them all, and initialized data all before uninitialized, so
79     we can shorten the on-disk segment size.  */
80  .sdata     : { *(.sdata) }
81  _edata  =  .;
82  PROVIDE (edata = .);
83  __bss_start = .;
84  .sbss      : { *(.sbss) *(.scommon) }
85  .bss       :
86  {
87   *(.dynbss)
88   *(.bss)
89   *(COMMON)
90  }
91  _end = . ;
92  PROVIDE (end = .);
93  /* Stabs debugging sections.  */
94  .stab 0 : { *(.stab) }
95  .stabstr 0 : { *(.stabstr) }
96  .stab.excl 0 : { *(.stab.excl) }
97  .stab.exclstr 0 : { *(.stab.exclstr) }
98  .stab.index 0 : { *(.stab.index) }
99  .stab.indexstr 0 : { *(.stab.indexstr) }
100  .comment 0 : { *(.comment) }
101  /* DWARF debug sections.
102     Symbols in the DWARF debugging sections are relative to the beginning
103     of the section so we begin them at 0.  */
104  /* DWARF 1 */
105  .debug          0 : { *(.debug) }
106  .line           0 : { *(.line) }
107  /* GNU DWARF 1 extensions */
108  .debug_srcinfo  0 : { *(.debug_srcinfo) }
109  .debug_sfnames  0 : { *(.debug_sfnames) }
110  /* DWARF 1.1 and DWARF 2 */
111  .debug_aranges  0 : { *(.debug_aranges) }
112  .debug_pubnames 0 : { *(.debug_pubnames) }
113  /* DWARF 2 */
114  .debug_info     0 : { *(.debug_info) }
115  .debug_abbrev   0 : { *(.debug_abbrev) }
116  .debug_line     0 : { *(.debug_line) }
117  .debug_frame    0 : { *(.debug_frame) }
118  .debug_str      0 : { *(.debug_str) }
119  .debug_loc      0 : { *(.debug_loc) }
120  .debug_macinfo  0 : { *(.debug_macinfo) }
121  /* SGI/MIPS DWARF 2 extensions */
122  .debug_weaknames 0 : { *(.debug_weaknames) }
123  .debug_funcnames 0 : { *(.debug_funcnames) }
124  .debug_typenames 0 : { *(.debug_typenames) }
125  .debug_varnames  0 : { *(.debug_varnames) }
126  /* These must appear regardless of  .  */
127}
128