No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / hp700 / stand / cdboot / ld.script
blob1c3306a9587c91f90eec0cece45b99794f7b60c7
1 /*      $NetBSD$        */
3 /*      $OpenBSD: ld.script,v 1.1 2003/03/28 22:42:26 mickey Exp $      */
5 OUTPUT_FORMAT("elf32-hppa")
6 OUTPUT_ARCH(hppa)
7 ENTRY(begin)
9 SECTIONS {
11         /* Read-only sections, merged into text segment: */
12         . = + SIZEOF_HEADERS;
13         .text : {
14                 *(.text)
15                 *(.text.*)
16                 *(.rodata)
17                 *(.rodata1)
18                 *($CODE$)
19                 etext = .;
20         } = 0x08000240
22         /* Read-write sections, merged into data segment: */
23         .data : {
24                 $global$ = .;
25                 *(.data)
26                 *(.data1)
27                 *(.sdata)
28                 *(.sdata2)
29                 *(.dynamic)
30                 CONSTRUCTORS
31                 edata = ABSOLUTE(.);
32         } = 0
34         .bss : {
35                 __bss_start = .;
36                 *(.dynbss)
37                 *(.bss)
38                 *(.sbss)
39                 *(.scommon)
40                 *(COMMON)
41                 end = ABSOLUTE(.);
42                 __bss_end = .;
43         }
45         /* don't need an unwind in the boot, unless we'll have a boot-ddb (; */
46         /DISCARD/ :
47         {
48                 *(.PARISC.unwind)
49         }