2 * Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved.
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of version 2 of the GNU General Public License
6 * as published by the Free Software Foundation.
8 * This program is distributed in the hope that it would be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 * Further, this software is distributed without any warranty that it is
13 * free of the rightful claim of any third person regarding infringement
14 * or the like. Any license provided herein, whether implied or
15 * otherwise, applies only to this software file. Patent licenses, if
16 * any, provided herein do not apply to combinations of this program with
17 * other software, or any other product whatsoever.
19 * You should have received a copy of the GNU General Public
20 * License along with this program; if not, write the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
23 * Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
24 * Mountain View, CA 94043, or:
28 * For further information regarding this notice, see:
30 * http://oss.sgi.com/projects/GenInfo/NoticeExplan
33 OUTPUT_FORMAT("elf64-ia64-little")
38 v = 0x0000000000000000 ; /* this symbol is here to make debugging with kdb easier... */
40 . = (0x000000000000000 + 0x100000) ;
43 .text : AT(ADDR(.text) - 0x0000000000000000 )
46 /* these are not really text pages, but the zero page needs to be in a fixed location: */
47 *(__special_page_section)
48 __start_gate_section = .;
50 __stop_gate_section = .;
57 .rodata : AT(ADDR(.rodata) - 0x0000000000000000 )
58 { *(.rodata) *(.rodata.*) }
59 .opd : AT(ADDR(.opd) - 0x0000000000000000 )
61 .data : AT(ADDR(.data) - 0x0000000000000000 )
62 { *(.data) *(.gnu.linkonce.d*) CONSTRUCTORS }
64 __gp = ALIGN (8) + 0x200000;
66 .got : AT(ADDR(.got) - 0x0000000000000000 )
67 { *(.got.plt) *(.got) }
68 /* We want the small data sections together, so single-instruction offsets
69 can access them all, and initialized data all before uninitialized, so
70 we can shorten the on-disk segment size. */
71 .sdata : AT(ADDR(.sdata) - 0x0000000000000000 )
75 .sbss : AT(ADDR(.sbss) - 0x0000000000000000 )
76 { *(.sbss) *(.scommon) }
77 .bss : AT(ADDR(.bss) - 0x0000000000000000 )
82 /* Sections to be discarded */
88 /* Stabs debugging sections. */
89 .stab 0 : { *(.stab) }
90 .stabstr 0 : { *(.stabstr) }
91 .stab.excl 0 : { *(.stab.excl) }
92 .stab.exclstr 0 : { *(.stab.exclstr) }
93 .stab.index 0 : { *(.stab.index) }
94 .stab.indexstr 0 : { *(.stab.indexstr) }
95 /* DWARF debug sections.
96 Symbols in the DWARF debugging sections are relative to the beginning
97 of the section so we begin them at 0. */
99 .debug 0 : { *(.debug) }
100 .line 0 : { *(.line) }
101 /* GNU DWARF 1 extensions */
102 .debug_srcinfo 0 : { *(.debug_srcinfo) }
103 .debug_sfnames 0 : { *(.debug_sfnames) }
104 /* DWARF 1.1 and DWARF 2 */
105 .debug_aranges 0 : { *(.debug_aranges) }
106 .debug_pubnames 0 : { *(.debug_pubnames) }
108 .debug_info 0 : { *(.debug_info) }
109 .debug_abbrev 0 : { *(.debug_abbrev) }
110 .debug_line 0 : { *(.debug_line) }
111 .debug_frame 0 : { *(.debug_frame) }
112 .debug_str 0 : { *(.debug_str) }
113 .debug_loc 0 : { *(.debug_loc) }
114 .debug_macinfo 0 : { *(.debug_macinfo) }
115 /* SGI/MIPS DWARF 2 extensions */
116 .debug_weaknames 0 : { *(.debug_weaknames) }
117 .debug_funcnames 0 : { *(.debug_funcnames) }
118 .debug_typenames 0 : { *(.debug_typenames) }
119 .debug_varnames 0 : { *(.debug_varnames) }
120 /* These must appear regardless of . */
121 /* Discard them for now since Intel SoftSDV cannot handle them.
122 .comment 0 : { *(.comment) }
123 .note 0 : { *(.note) }
125 /DISCARD/ : { *(.comment) }
126 /DISCARD/ : { *(.note) }