• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1OUTPUT_FORMAT("elf64-ia64-little")
2OUTPUT_ARCH(ia64)
3ENTRY(_start)
4SECTIONS
5{
6  /* Read-only sections, merged into text segment: */
7  . = 0x100000;
8
9  _text = .;
10  .text : { *(__ivt_section) *(.text) }
11  _etext = .;
12
13  /* Global data */
14  _data = .;
15  .rodata : { *(.rodata) *(.rodata.*) }
16  .data    : { *(.data) *(.gnu.linkonce.d*) CONSTRUCTORS }
17  __gp = ALIGN (8) + 0x200000;
18  .got           : { *(.got.plt) *(.got) }
19  /* We want the small data sections together, so single-instruction offsets
20     can access them all, and initialized data all before uninitialized, so
21     we can shorten the on-disk segment size.  */
22  .sdata     : { *(.sdata) }
23  _edata  =  .;
24
25  __bss_start = .;
26  .sbss      : { *(.sbss) *(.scommon) }
27  .bss       : { *(.bss) *(COMMON) }
28  . = ALIGN(64 / 8);
29  __bss_stop = .;
30  _end = . ;
31
32  /* Stabs debugging sections.  */
33  .stab 0 : { *(.stab) }
34  .stabstr 0 : { *(.stabstr) }
35  .stab.excl 0 : { *(.stab.excl) }
36  .stab.exclstr 0 : { *(.stab.exclstr) }
37  .stab.index 0 : { *(.stab.index) }
38  .stab.indexstr 0 : { *(.stab.indexstr) }
39  .comment 0 : { *(.comment) }
40  /* DWARF debug sections.
41     Symbols in the DWARF debugging sections are relative to the beginning
42     of the section so we begin them at 0.  */
43  /* DWARF 1 */
44  .debug          0 : { *(.debug) }
45  .line           0 : { *(.line) }
46  /* GNU DWARF 1 extensions */
47  .debug_srcinfo  0 : { *(.debug_srcinfo) }
48  .debug_sfnames  0 : { *(.debug_sfnames) }
49  /* DWARF 1.1 and DWARF 2 */
50  .debug_aranges  0 : { *(.debug_aranges) }
51  .debug_pubnames 0 : { *(.debug_pubnames) }
52  /* DWARF 2 */
53  .debug_info     0 : { *(.debug_info) }
54  .debug_abbrev   0 : { *(.debug_abbrev) }
55  .debug_line     0 : { *(.debug_line) }
56  .debug_frame    0 : { *(.debug_frame) }
57  .debug_str      0 : { *(.debug_str) }
58  .debug_loc      0 : { *(.debug_loc) }
59  .debug_macinfo  0 : { *(.debug_macinfo) }
60  /* SGI/MIPS DWARF 2 extensions */
61  .debug_weaknames 0 : { *(.debug_weaknames) }
62  .debug_funcnames 0 : { *(.debug_funcnames) }
63  .debug_typenames 0 : { *(.debug_typenames) }
64  .debug_varnames  0 : { *(.debug_varnames) }
65  /* These must appear regardless of  .  */
66}
67