Reduce white space diffs between FreeBSD.
[dragonfly.git] / libexec / rtld-elf / alpha / ld.so.script
1 /*      $NetBSD: ld.so.script,v 1.2 2001/12/13 20:31:31 thorpej Exp $   */
2 /* $FreeBSD: src/libexec/rtld-elf/alpha/ld.so.script,v 1.1.2.1 2002/09/02 02:10:20 obrien Exp $ */
3 /* $DragonFly: src/libexec/rtld-elf/alpha/Attic/ld.so.script,v 1.2 2003/06/17 04:27:08 dillon Exp $ */
4
5 OUTPUT_FORMAT("elf64-alpha", "elf64-alpha",
6               "elf64-alpha")
7 OUTPUT_ARCH(alpha)
8 ENTRY(__start)
9 /* SEARCH_DIR(/usr/lib); JRT */
10 /* Do we need any of these for elf?
11    __DYNAMIC = 0;    */
12 SECTIONS
13 {
14   /* Read-only sections, merged into text segment: */
15   . = 0 + SIZEOF_HEADERS;
16   .hash          : { *(.hash)           }
17   .dynsym        : { *(.dynsym)         }
18   .dynstr        : { *(.dynstr)         }
19   .gnu.version   : { *(.gnu.version)    }
20   .gnu.version_d   : { *(.gnu.version_d)        }
21   .gnu.version_r   : { *(.gnu.version_r)        }
22   .rel.text      :
23     { *(.rel.text) *(.rel.gnu.linkonce.t*) }
24   .rela.text     :
25     { *(.rela.text) *(.rela.gnu.linkonce.t*) }
26   .rel.data      :
27     { *(.rel.data) *(.rel.gnu.linkonce.d*) }
28   .rela.data     :
29     { *(.rela.data) *(.rela.gnu.linkonce.d*) }
30   .rel.rodata    :
31     { *(.rel.rodata) *(.rel.gnu.linkonce.r*) }
32   .rela.rodata   :
33     { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
34   .rel.got       : { *(.rel.got)                }
35   .rela.got      : { *(.rela.got)               }
36   .rel.ctors     : { *(.rel.ctors)      }
37   .rela.ctors    : { *(.rela.ctors)     }
38   .rel.dtors     : { *(.rel.dtors)      }
39   .rela.dtors    : { *(.rela.dtors)     }
40   .rel.init      : { *(.rel.init)       }
41   .rela.init     : { *(.rela.init)      }
42   .rel.fini      : { *(.rel.fini)       }
43   .rela.fini     : { *(.rela.fini)      }
44   .rel.bss       : { *(.rel.bss)                }
45   .rela.bss      : { *(.rela.bss)               }
46   .rel.plt       : { *(.rel.plt)                }
47   .rela.plt      : { *(.rela.plt)               }
48   .init          : { *(.init)   } =0x47ff041f
49   .text      :
50   {
51     *(.text)
52     *(.stub)
53     /* .gnu.warning sections are handled specially by elf32.em.  */
54     *(.gnu.warning)
55     *(.gnu.linkonce.t*)
56   } =0x47ff041f
57   _etext = .;
58   PROVIDE (etext = .);
59   .fini      : { *(.fini)    } =0x47ff041f
60   .rodata    : { *(.rodata) *(.gnu.linkonce.r*) }
61   .rodata1   : { *(.rodata1) }
62   .reginfo : { *(.reginfo) }
63   /* Adjust the address for the data segment.  We want to adjust up to
64      the same address within the page on the next page up.  */
65   . = ALIGN(0x100000) + (. & (0x100000 - 1));
66   .data    :
67   {
68     *(.data)
69     *(.gnu.linkonce.d*)
70     CONSTRUCTORS
71   }
72   .data1   : { *(.data1) }
73   .ctors         :
74   {
75     *(.ctors)
76   }
77   .dtors         :
78   {
79     *(.dtors)
80   }
81   .plt      : { *(.plt) }
82   .got           : { *(.got.plt) *(.got) }
83   PROVIDE (_GOT_END_ = .);
84   .dynamic       : { *(.dynamic) }
85   /* We want the small data sections together, so single-instruction offsets
86      can access them all, and initialized data all before uninitialized, so
87      we can shorten the on-disk segment size.  */
88   .sdata     : { *(.sdata) }
89   _edata  =  .;
90   PROVIDE (edata = .);
91   __bss_start = .;
92   .sbss      : { *(.sbss) *(.scommon) }
93   .bss       :
94   {
95    *(.dynbss)
96    *(.bss)
97    *(COMMON)
98   }
99   . = ALIGN(64 / 8);
100   _end = . ;
101   PROVIDE (end = .);
102   /* Stabs debugging sections.  */
103   .stab 0 : { *(.stab) }
104   .stabstr 0 : { *(.stabstr) }
105   .stab.excl 0 : { *(.stab.excl) }
106   .stab.exclstr 0 : { *(.stab.exclstr) }
107   .stab.index 0 : { *(.stab.index) }
108   .stab.indexstr 0 : { *(.stab.indexstr) }
109   .comment 0 : { *(.comment) }
110   /* DWARF debug sections.
111      Symbols in the DWARF debugging sections are relative to the beginning
112      of the section so we begin them at 0.  */
113   /* DWARF 1 */
114   .debug          0 : { *(.debug) }
115   .line           0 : { *(.line) }
116   /* GNU DWARF 1 extensions */
117   .debug_srcinfo  0 : { *(.debug_srcinfo) }
118   .debug_sfnames  0 : { *(.debug_sfnames) }
119   /* DWARF 1.1 and DWARF 2 */
120   .debug_aranges  0 : { *(.debug_aranges) }
121   .debug_pubnames 0 : { *(.debug_pubnames) }
122   /* DWARF 2 */
123   .debug_info     0 : { *(.debug_info) }
124   .debug_abbrev   0 : { *(.debug_abbrev) }
125   .debug_line     0 : { *(.debug_line) }
126   .debug_frame    0 : { *(.debug_frame) }
127   .debug_str      0 : { *(.debug_str) }
128   .debug_loc      0 : { *(.debug_loc) }
129   .debug_macinfo  0 : { *(.debug_macinfo) }
130   /* SGI/MIPS DWARF 2 extensions */
131   .debug_weaknames 0 : { *(.debug_weaknames) }
132   .debug_funcnames 0 : { *(.debug_funcnames) }
133   .debug_typenames 0 : { *(.debug_typenames) }
134   .debug_varnames  0 : { *(.debug_varnames) }
135   /* These must appear regardless of  .  */
136 }