1/* 2 * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com> 3 * on behalf of DENX Software Engineering GmbH 4 * 5 * January 2004 - Changed to support H4 device 6 * Copyright (c) 2004-2008 Texas Instruments 7 * 8 * (C) Copyright 2002 9 * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de> 10 * 11 * SPDX-License-Identifier: GPL-2.0+ 12 */ 13 14OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") 15OUTPUT_ARCH(arm) 16ENTRY(_start) 17SECTIONS 18{ 19 . = 0x00000000; 20 21 . = ALIGN(4); 22 .text : 23 { 24 *(.vectors) 25 arch/arm/cpu/arm926ejs/spear/start.o (.text*) 26 *(.text*) 27 } 28 29 . = ALIGN(4); 30 .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) } 31 32 . = ALIGN(4); 33 .data : { 34 *(.data*) 35 } 36 37 . = ALIGN(4); 38 39 .rel.dyn : { 40 __rel_dyn_start = .; 41 *(.rel*) 42 __rel_dyn_end = .; 43 } 44 45 .bss : { 46 . = ALIGN(4); 47 __bss_start = .; 48 *(.bss*) 49 . = ALIGN(4); 50 __bss_end = .; 51 } 52 53 .end : 54 { 55 *(.__end) 56 } 57 58 _image_binary_end = .; 59 60 .dynsym _image_binary_end : { *(.dynsym) } 61 .dynbss : { *(.dynbss) } 62 .dynstr : { *(.dynstr*) } 63 .dynamic : { *(.dynamic*) } 64 .hash : { *(.hash*) } 65 .plt : { *(.plt*) } 66 .interp : { *(.interp*) } 67 .gnu : { *(.gnu*) } 68 .ARM.exidx : { *(.ARM.exidx*) } 69} 70