[26] | 1 | /*
|
---|
| 2 | * @(#) $Id: at91sam7s.ld,v 1.1 2006/06/11 12:18:56 roi Exp $
|
---|
| 3 | */
|
---|
| 4 |
|
---|
| 5 | OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm","elf32-littlearm")
|
---|
| 6 | OUTPUT_ARCH(arm)
|
---|
| 7 | STARTUP(start.o)
|
---|
| 8 |
|
---|
| 9 | PROVIDE(hardware_init_hook = 0);
|
---|
| 10 | PROVIDE(software_init_hook = 0);
|
---|
| 11 | PROVIDE(software_term_hook = 0);
|
---|
| 12 |
|
---|
| 13 | SECTIONS
|
---|
| 14 | {
|
---|
| 15 | .vector :
|
---|
| 16 | {
|
---|
| 17 | *(.vector)
|
---|
| 18 | }
|
---|
| 19 | .text :
|
---|
| 20 | {
|
---|
| 21 | __text = . ;
|
---|
| 22 | *(.text)
|
---|
| 23 | *(.glue_7t)
|
---|
| 24 | *(.glue_7)
|
---|
| 25 | }
|
---|
| 26 | _etext = . ;
|
---|
| 27 | PROVIDE (etext = .) ;
|
---|
| 28 | .rodata : {
|
---|
| 29 | *(.rodata)
|
---|
| 30 | }
|
---|
| 31 |
|
---|
| 32 | . = ALIGN(4);
|
---|
| 33 | __idata_start = . ;
|
---|
| 34 | .data : AT(__idata_start)
|
---|
| 35 | {
|
---|
| 36 | __data_start = . ;
|
---|
| 37 | *(.data)
|
---|
| 38 | }
|
---|
| 39 | __idata_end = __idata_start + SIZEOF(.data);
|
---|
| 40 | _edata = . ;
|
---|
| 41 | PROVIDE (edata = .);
|
---|
| 42 | . = ALIGN(4);
|
---|
| 43 | __bss_start = . ;
|
---|
| 44 | .bss :
|
---|
| 45 | {
|
---|
| 46 | *(.bss)
|
---|
| 47 | *(COMMON)
|
---|
| 48 | . = ALIGN(32 / 8);
|
---|
| 49 | }
|
---|
| 50 |
|
---|
| 51 | . = ALIGN(32 / 8);
|
---|
| 52 | _end = . ;
|
---|
| 53 | __bss_end = .;
|
---|
| 54 | PROVIDE (end = .) ;
|
---|
| 55 | .comment 0 : { *(.comment) }
|
---|
| 56 |
|
---|
| 57 | /* DWARF debug sections.
|
---|
| 58 | Symbols in the DWARF debugging sections are relative to
|
---|
| 59 | the beginning of the section so we begin them at 0. */
|
---|
| 60 |
|
---|
| 61 | /* DWARF 1 */
|
---|
| 62 | .debug 0 : { *(.debug) }
|
---|
| 63 | .line 0 : { *(.line) }
|
---|
| 64 |
|
---|
| 65 | /* GNU DWARF 1 extensions */
|
---|
| 66 | .debug_srcinfo 0 : { *(.debug_srcinfo) }
|
---|
| 67 | .debug_sfnames 0 : { *(.debug_sfnames) }
|
---|
| 68 |
|
---|
| 69 | /* DWARF 1.1 and DWARF 2 */
|
---|
| 70 | .debug_aranges 0 : { *(.debug_aranges) }
|
---|
| 71 | .debug_pubnames 0 : { *(.debug_pubnames) }
|
---|
| 72 |
|
---|
| 73 | /* DWARF 2 */
|
---|
| 74 | .debug_info 0 : { *(.debug_info) }
|
---|
| 75 | .debug_abbrev 0 : { *(.debug_abbrev) }
|
---|
| 76 | .debug_line 0 : { *(.debug_line) }
|
---|
| 77 | .debug_frame 0 : { *(.debug_frame) }
|
---|
| 78 | .debug_str 0 : { *(.debug_str) }
|
---|
| 79 | .debug_loc 0 : { *(.debug_loc) }
|
---|
| 80 | .debug_macinfo 0 : { *(.debug_macinfo) }
|
---|
| 81 |
|
---|
| 82 | /* SGI/MIPS DWARF 2 extensions */
|
---|
| 83 | .debug_weaknames 0 : { *(.debug_weaknames) }
|
---|
| 84 | .debug_funcnames 0 : { *(.debug_funcnames) }
|
---|
| 85 | .debug_typenames 0 : { *(.debug_typenames) }
|
---|
| 86 | .debug_varnames 0 : { *(.debug_varnames) }
|
---|
| 87 | }
|
---|
| 88 |
|
---|
| 89 |
|
---|
| 90 |
|
---|
| 91 |
|
---|