Stefan Roese | 4274351 | 2007-06-01 15:27:11 +0200 | [diff] [blame] | 1 | /* |
2 | * (C) Copyright 2007 | ||||
3 | * Stefan Roese, DENX Software Engineering, sr@denx.de. | ||||
4 | * | ||||
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
Stefan Roese | 4274351 | 2007-06-01 15:27:11 +0200 | [diff] [blame] | 6 | */ |
7 | |||||
8 | OUTPUT_ARCH(powerpc:common) | ||||
9 | SECTIONS | ||||
10 | { | ||||
11 | .resetvec 0x00800FFC : | ||||
12 | { | ||||
Wolfgang Denk | fe33e6e | 2010-11-21 20:55:42 +0100 | [diff] [blame] | 13 | KEEP(*(.resetvec)) |
Stefan Roese | 4274351 | 2007-06-01 15:27:11 +0200 | [diff] [blame] | 14 | } = 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 Piepho | 4438e5e | 2009-02-18 15:22:05 -0800 | [diff] [blame] | 31 | *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) |
Stefan Roese | 4274351 | 2007-06-01 15:27:11 +0200 | [diff] [blame] | 32 | *(.data*) |
33 | *(.sdata*) | ||||
34 | __got2_start = .; | ||||
35 | *(.got2) | ||||
36 | __got2_end = .; | ||||
37 | } | ||||
38 | |||||
39 | _edata = .; | ||||
40 | |||||
41 | __bss_start = .; | ||||
Wolfgang Denk | 828a978 | 2008-01-12 20:31:39 +0100 | [diff] [blame] | 42 | .bss (NOLOAD) : |
Stefan Roese | 4274351 | 2007-06-01 15:27:11 +0200 | [diff] [blame] | 43 | { |
44 | *(.sbss) | ||||
45 | *(.bss) | ||||
Selvamuthukumar | d2454ba | 2008-10-16 22:54:03 +0530 | [diff] [blame] | 46 | . = ALIGN(4); |
Stefan Roese | 4274351 | 2007-06-01 15:27:11 +0200 | [diff] [blame] | 47 | } |
48 | |||||
Simon Glass | ed70c8f | 2013-03-14 06:54:53 +0000 | [diff] [blame] | 49 | __bss_end = . ; |
Stefan Roese | 4274351 | 2007-06-01 15:27:11 +0200 | [diff] [blame] | 50 | } |