• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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		ufs.o (.text*)
32		div0.o (.text*)
33		sdhci_boot.o (.text*)
34		image_data.o (.text*)
35        startup.o(.text*)
36        reset.o(.text*)
37        __init_end = .;
38        ASSERT(((__init_end - __text_start) < 0x8000), "init sections too big!");
39		*(.text*)
40	}
41
42	. = ALIGN(8);
43	.image : { *(.image) }
44
45	. = ALIGN(8);
46	.rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
47
48	. = ALIGN(8);
49	.data : {
50		*(.data*)
51	}
52
53	. = ALIGN(8);
54
55	.got : { *(.got) }
56
57	. = ALIGN(8);
58	__image_copy_end =.;
59	__bss_start = .;
60	.bss :
61	{
62		*(.bss)
63	}
64	__bss_end = .;
65
66
67	_end = .;
68}
69