summaryrefslogtreecommitdiff
path: root/nand_spl/board/amcc/acadia/u-boot.lds
blob: a7dac121d37d6afdac84edc81df52bfb568b8833 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
 * (C) Copyright 2007
 * Stefan Roese, DENX Software Engineering, sr@denx.de.
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

OUTPUT_ARCH(powerpc:common)
SECTIONS
{
  .resetvec 0xf8004ffc :
  {
    KEEP(*(.resetvec))
  } = 0xffff

  .text      :
  {
    start.o	(.text)
    nand_boot.o	(.text)
    ndfc.o	(.text)

    *(.text)
    *(.fixup)
  }
  _etext = .;

  .data    :
  {
    *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
    *(.data*)
    *(.sdata*)
    __got2_start = .;
    *(.got2)
    __got2_end = .;
  }

  _edata  =  .;

  __bss_start = .;
  .bss (NOLOAD)       :
  {
   *(.sbss)
   *(.bss)
   . = ALIGN(4);
  }

  __bss_end = . ;
}