1/******************************************************************************* 2 * 3 * Filename: linker.cfg 4 * 5 * linker config file used for internal RAM or eeprom images at address 0. 6 * 7 * Revision information: 8 * 9 * 20AUG2004 kb_admin initial creation 10 * 12JAN2005 kb_admin move data to SDRAM 11 * 12 * BEGIN_KBDD_BLOCK 13 * No warranty, expressed or implied, is included with this software. It is 14 * provided "AS IS" and no warranty of any kind including statutory or aspects 15 * relating to merchantability or fitness for any purpose is provided. All 16 * intellectual property rights of others is maintained with the respective 17 * owners. This software is not copyrighted and is intended for reference 18 * only. 19 * END_BLOCK 20 * 21 * $FreeBSD$ 22 ******************************************************************************/ 23OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", 24 "elf32-littlearm") 25OUTPUT_ARCH(arm) 26ENTRY(start) 27SECTIONS 28{ 29 /* Read-only sections, merged into text segment: */ 30 . = 0; 31 .text : 32 { 33 *(.text) 34 } 35 PROVIDE (__etext = .); 36 PROVIDE (_etext = .); 37 PROVIDE (etext = .); 38 .data : 39 { 40 __data_start = . ; 41 *(.data) 42 } 43 _edata = .; 44 PROVIDE (edata = .); 45 __bss_start = .; 46 __bss_start__ = .; 47 .bss : 48 { 49 *(.bss) 50 . = ALIGN(32 / 8); 51 } 52 . = ALIGN(32 / 8); 53 _end = .; 54 _bss_end__ = . ; __bss_end__ = . ; __end__ = . ; 55 PROVIDE (end = .); 56} 57