source: anotherchoice/tags/jsp-1.4.4-full-UTF8/config/sh3/shlelf.ld@ 26

Last change on this file since 26 was 26, checked in by ykominami, 10 years ago

initial

File size: 1.9 KB
Line 
1/*
2 * @(#) $Id: shlelf.ld,v 1.3 2003/12/04 14:14:39 honda Exp $
3 */
4
5OUTPUT_FORMAT("elf32-shl","elf32-shl","elf32-shl")
6OUTPUT_ARCH(sh)
7
8PROVIDE(_hardware_init_hook = 0);
9PROVIDE(_software_init_hook = 0);
10PROVIDE(_software_term_hook = 0);
11
12SECTIONS
13{
14 .text :
15 {
16 __text = . ;
17 *(.text .stub .text.* .gnu.linkonce.t.*)
18 }
19 .init :
20 {
21 KEEP (*(.init))
22 } = 0
23 .fini :
24 {
25 KEEP (*(.fini))
26 } = 0
27 _etext = . ;
28 PROVIDE (etext = .) ;
29 .eh_frame_hdr : { *(.eh_frame_hdr) }
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 .data.* .gnu.linkonce.d.*)
40 SORT(CONSTRUCTORS)
41 }
42 __idata_end = __idata_start + SIZEOF(.data);
43 .eh_frame : { KEEP (*(.eh_frame)) }
44 .gcc_except_table : { *(.gcc_except_table) }
45 .ctors :
46 {
47 ___ctors = .;
48 KEEP (*crtbegin.o(.ctors))
49 KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
50 KEEP (*(SORT(.ctors.*)))
51 KEEP (*(.ctors))
52 ___ctors_end = .;
53 }
54 .dtors :
55 {
56 ___dtors = .;
57 KEEP (*crtbegin.o(.dtors))
58 KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
59 KEEP (*(SORT(.dtors.*)))
60 KEEP (*(.dtors))
61 ___dtors_end = .;
62 }
63 .jcr : { KEEP (*(.jcr)) }
64 .got : { *(.got.plt) *(.got) }
65 _edata = . ;
66 PROVIDE (edata = .);
67 . = ALIGN(4);
68 __bss_start = . ;
69 .bss :
70 {
71
72 *(.bss)
73 *(COMMON)
74 }
75 . = ALIGN(4);
76 _end = . ;
77 PROVIDE (end = .) ;
78 .comment 0 : { *(.comment) }
79 .debug 0 : { *(.debug) }
80 .line 0 : { *(.line) }
81 .debug_srcinfo 0 : { *(.debug_srcinfo) }
82 .debug_sfnames 0 : { *(.debug_sfnames) }
83 .debug_aranges 0 : { *(.debug_aranges) }
84 .debug_pubnames 0 : { *(.debug_pubnames) }
85}
86
Note: See TracBrowser for help on using the repository browser.