blob: c432368175d5388596c8660d61c95725c070718d [file] [log] [blame]
Stefan Roese42743512007-06-01 15:27:11 +02001/*
2 * (C) Copyright 2007
3 * Stefan Roese, DENX Software Engineering, sr@denx.de.
4 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Stefan Roese42743512007-06-01 15:27:11 +02006 */
7
8OUTPUT_ARCH(powerpc:common)
9SECTIONS
10{
11 .resetvec 0x00800FFC :
12 {
Wolfgang Denkfe33e6e2010-11-21 20:55:42 +010013 KEEP(*(.resetvec))
Stefan Roese42743512007-06-01 15:27:11 +020014 } = 0xffff
15
16 .text :
17 {
18 start.o (.text)
19 init.o (.text)
20 nand_boot.o (.text)
21 sdram.o (.text)
22 ndfc.o (.text)
23
24 *(.text)
25 *(.fixup)
26 }
27 _etext = .;
28
29 .data :
30 {
Trent Piepho4438e5e2009-02-18 15:22:05 -080031 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
Stefan Roese42743512007-06-01 15:27:11 +020032 *(.data*)
33 *(.sdata*)
34 __got2_start = .;
35 *(.got2)
36 __got2_end = .;
37 }
38
39 _edata = .;
40
41 __bss_start = .;
Wolfgang Denk828a9782008-01-12 20:31:39 +010042 .bss (NOLOAD) :
Stefan Roese42743512007-06-01 15:27:11 +020043 {
44 *(.sbss)
45 *(.bss)
Selvamuthukumard2454ba2008-10-16 22:54:03 +053046 . = ALIGN(4);
Stefan Roese42743512007-06-01 15:27:11 +020047 }
48
Simon Glassed70c8f2013-03-14 06:54:53 +000049 __bss_end = . ;
Stefan Roese42743512007-06-01 15:27:11 +020050}