Rev | Line | |
---|
[26] | 1 | /*
|
---|
| 2 | * @(#) $Id: shelf.ld,v 1.2 2003/07/01 15:59:15 honda Exp $
|
---|
| 3 | */
|
---|
| 4 |
|
---|
| 5 | OUTPUT_FORMAT("elf32-sh","elf32-sh","elf32-sh")
|
---|
| 6 | OUTPUT_ARCH(sh)
|
---|
| 7 |
|
---|
| 8 |
|
---|
| 9 | PROVIDE(_hardware_init_hook = 0);
|
---|
| 10 | PROVIDE(_software_init_hook = 0);
|
---|
| 11 | PROVIDE(_software_term_hook = 0);
|
---|
| 12 | SECTIONS
|
---|
| 13 | {
|
---|
| 14 | .text :
|
---|
| 15 | {
|
---|
| 16 | __text = . ;
|
---|
| 17 | *(.text)
|
---|
| 18 |
|
---|
| 19 | }
|
---|
| 20 | _etext = . ;
|
---|
| 21 | PROVIDE (etext = .) ;
|
---|
| 22 | .rodata : { *(.rodata) }
|
---|
| 23 | . = ALIGN(4);
|
---|
| 24 | __idata_start = . ;
|
---|
| 25 | .data : AT(__idata_start)
|
---|
| 26 | {
|
---|
| 27 | __data_start = . ;
|
---|
| 28 | *(.data)
|
---|
| 29 | }
|
---|
| 30 | __idata_end = __idata_start + SIZEOF(.data);
|
---|
| 31 | _edata = . ;
|
---|
| 32 | PROVIDE (edata = .);
|
---|
| 33 | . = ALIGN(4);
|
---|
| 34 | __bss_start = . ;
|
---|
| 35 | .bss :
|
---|
| 36 | {
|
---|
| 37 |
|
---|
| 38 | *(.bss)
|
---|
| 39 | *(COMMON)
|
---|
| 40 | }
|
---|
| 41 | _end = . ;
|
---|
| 42 | PROVIDE (end = .) ;
|
---|
| 43 | .comment 0 : { *(.comment) }
|
---|
| 44 | .debug 0 : { *(.debug) }
|
---|
| 45 | .line 0 : { *(.line) }
|
---|
| 46 | .debug_srcinfo 0 : { *(.debug_srcinfo) }
|
---|
| 47 | .debug_sfnames 0 : { *(.debug_sfnames) }
|
---|
| 48 | .debug_aranges 0 : { *(.debug_aranges) }
|
---|
| 49 | .debug_pubnames 0 : { *(.debug_pubnames) }
|
---|
| 50 | }
|
---|
| 51 |
|
---|
| 52 |
|
---|
| 53 |
|
---|
| 54 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.