OSDN Git Service

Change the directry name to hirado
[trx-305dsp/dsp.git] / hirado / kernel / config / m68k / m68kelf.ld
1 /*
2  *  @(#) $Id: m68kelf.ld,v 1.1 2009/01/31 05:27:37 suikan Exp $
3  */
4
5 OUTPUT_FORMAT("elf32-m68k","elf32-m68k","elf32-m68k")
6 OUTPUT_ARCH(m68k)
7
8 PROVIDE (__stack = 0) ;
9 PROVIDE (hardware_init_hook = 0) ;
10 PROVIDE (software_init_hook = 0) ;
11 PROVIDE (software_term_hook = 0) ;
12 SECTIONS
13 {
14     .init :
15     {
16         KEEP (*(.init))
17     }
18     .text :
19     {
20         __text = . ;
21         *(.text .stub .text.* .gnu.linkonce.t.*)
22
23     }
24     .fini :
25     {
26         KEEP (*(.fini))
27     }
28     _etext = . ;
29     PROVIDE (etext = .) ;
30     .rodata :
31     {
32         *(.rodata .rodata.* .gnu.linkonce.r.*)
33     }
34     . = ALIGN(4) ;
35     __idata_start = . ;
36     .data : AT(__idata_start) 
37     {
38         __data_start = . ;
39         *(.data)
40     }
41     .eh_frame : { KEEP (*(.eh_frame)) }
42     .gcc_except_table : { *(.gcc_except_table) }
43     .ctors :
44     {
45         KEEP (*crtbegin.o(.ctors))
46         KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
47         KEEP (*(SORT(.ctors.*)))
48         KEEP (*(.ctors))
49     }
50     .dtors :
51     {
52         KEEP (*crtbegin.o(.dtors))
53         KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
54         KEEP (*(SORT(.dtors.*)))
55         KEEP (*(.dtors))
56     }
57     __idata_end = __idata_start + SIZEOF(.data) ;
58     _edata  = . ;
59     PROVIDE (edata = .) ;
60     . = ALIGN(4) ;
61     __bss_start = . ;
62     .bss :
63     {
64         *(.bss)
65         *(COMMON)
66     }
67     _end = . ;
68     __bss_end = . ;
69     PROVIDE (end = .) ;
70     .comment        0 : { *(.comment) }
71     .debug          0 : { *(.debug) }
72     .line           0 : { *(.line) }
73     .debug_srcinfo  0 : { *(.debug_srcinfo) }
74     .debug_sfnames  0 : { *(.debug_sfnames) }
75     .debug_aranges  0 : { *(.debug_aranges) }
76     .debug_pubnames 0 : { *(.debug_pubnames) }
77 }