1/* 2 * (C) Copyright 2013 3 * David Feng <fenghua@phytium.com.cn> 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("elf64-littleaarch64", "elf64-littleaarch64", "elf64-littleaarch64") 12OUTPUT_ARCH(aarch64) 13ENTRY(_start) 14SECTIONS 15{ 16 . = 0x48700000; 17 __image_copy_start =.; 18 . = ALIGN(8); 19 .text : 20 { 21 __text_start = .; 22 start.o (.text*) 23 init_registers.o (.text*) 24 lowlevel_init_v300.o (.text*) 25 ddr_training_impl.o (.text*) 26 ddr_training_console.o (.text*) 27 ddr_training_ctl.o (.text*) 28 ddr_training_boot.o (.text*) 29 ddr_training_custom.o (.text*) 30 uart.o (.text*) 31 div0.o (.text*) 32 cache.o (.text*) 33 cache_v8_hi3531dv200.o (.text*) 34 sdhci_boot.o (.text*) 35 reset.o(.text*) 36 __init_end = .; 37 ASSERT(((__init_end - __text_start) < 0x7800), "init sections too big!"); 38 *(.text*) 39 } 40 41 . = ALIGN(8); 42 .image : { *(.image) } 43 44 . = ALIGN(8); 45 .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) } 46 47 . = ALIGN(8); 48 .data : { 49 *(.data*) 50 } 51 52 . = ALIGN(8); 53 54 .got : { *(.got) } 55 56 . = ALIGN(8); 57 __image_copy_end =.; 58 __bss_start = .; 59 .bss : 60 { 61 *(.bss) 62 } 63 __bss_end = .; 64 65 66 _end = .; 67} 68