1/* 2 * January 2004 - Changed to support H4 device 3 * Copyright (c) 2004 Texas Instruments 4 * 5 * (C) Copyright 2002 6 * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de> 7 * 8 * SPDX-License-Identifier: GPL-2.0+ 9 */ 10 11OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") 12OUTPUT_ARCH(arm) 13ENTRY(_start) 14SECTIONS 15{ 16 . = 0x00000000; 17 18 . = ALIGN(4); 19 .text : 20 { 21 *(.__image_copy_start) 22 /* WARNING - the following is hand-optimized to fit within */ 23 /* the sector layout of our flash chips! XXX FIXME XXX */ 24 25 arch/arm/cpu/arm1136/start.o (.text*) 26 board/freescale/mx31ads/built-in.o (.text*) 27 arch/arm/lib/built-in.o (.text*) 28 net/built-in.o (.text*) 29 drivers/mtd/built-in.o (.text*) 30 31 . = DEFINED(env_offset) ? env_offset : .; 32 common/env_embedded.o(.text*) 33 34 *(.text*) 35 } 36 . = ALIGN(4); 37 .rodata : { *(.rodata*) } 38 39 . = ALIGN(4); 40 .data : { 41 *(.data*) 42 } 43 44 . = ALIGN(4); 45 46 . = ALIGN(4); 47 .u_boot_list : { 48 KEEP(*(SORT(.u_boot_list*))); 49 } 50 51 . = ALIGN(4); 52 53 .image_copy_end : 54 { 55 *(.__image_copy_end) 56 } 57 58 .rel_dyn_start : 59 { 60 *(.__rel_dyn_start) 61 } 62 63 .rel.dyn : { 64 *(.rel*) 65 } 66 67 .rel_dyn_end : 68 { 69 *(.__rel_dyn_end) 70 } 71 72 .end : 73 { 74 *(.__end) 75 } 76 77 _image_binary_end = .; 78 79/* 80 * Compiler-generated __bss_start and __bss_end, see arch/arm/lib/bss.c 81 * __bss_base and __bss_limit are for linker only (overlay ordering) 82 */ 83 84 .bss_start __rel_dyn_start (OVERLAY) : { 85 KEEP(*(.__bss_start)); 86 __bss_base = .; 87 } 88 89 .bss __bss_base (OVERLAY) : { 90 *(.bss*) 91 . = ALIGN(4); 92 __bss_limit = .; 93 } 94 .bss_end __bss_limit (OVERLAY) : { 95 KEEP(*(.__bss_end)); 96 } 97 98 .dynsym _image_binary_end : { *(.dynsym) } 99 .dynbss : { *(.dynbss) } 100 .dynstr : { *(.dynstr*) } 101 .dynamic : { *(.dynamic*) } 102 .hash : { *(.hash*) } 103 .plt : { *(.plt*) } 104 .interp : { *(.interp*) } 105 .gnu : { *(.gnu*) } 106 .ARM.exidx : { *(.ARM.exidx*) } 107} 108