~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/u-boot/board/RRvision/u-boot.lds

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * (C) Copyright 2000-2010
 
3
 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
 
4
 *
 
5
 * SPDX-License-Identifier:     GPL-2.0+
 
6
 */
 
7
 
 
8
OUTPUT_ARCH(powerpc)
 
9
 
 
10
SECTIONS
 
11
{
 
12
  /* Read-only sections, merged into text segment: */
 
13
  . = + SIZEOF_HEADERS;
 
14
  .text      :
 
15
  {
 
16
    /* WARNING - the following is hand-optimized to fit within  */
 
17
    /* the sector layout of our flash chips!    XXX FIXME XXX   */
 
18
    arch/powerpc/cpu/mpc8xx/start.o     (.text*)
 
19
    arch/powerpc/cpu/mpc8xx/traps.o     (.text*)
 
20
 
 
21
    . = env_offset;
 
22
    common/env_embedded.o       (.ppcenv)
 
23
 
 
24
    *(.text*)
 
25
  }
 
26
  _etext = .;
 
27
  PROVIDE (etext = .);
 
28
  .rodata    :
 
29
  {
 
30
    *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
 
31
  }
 
32
 
 
33
  /* Read-write section, merged into data segment: */
 
34
  . = (. + 0x00FF) & 0xFFFFFF00;
 
35
  _erotext = .;
 
36
  PROVIDE (erotext = .);
 
37
  .reloc   :
 
38
  {
 
39
    _GOT2_TABLE_ = .;
 
40
    KEEP(*(.got2))
 
41
    KEEP(*(.got))
 
42
    PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
 
43
    _FIXUP_TABLE_ = .;
 
44
    KEEP(*(.fixup))
 
45
  }
 
46
  __got2_entries = ((_GLOBAL_OFFSET_TABLE_ - _GOT2_TABLE_) >> 2) - 1;
 
47
  __fixup_entries = (. - _FIXUP_TABLE_)>>2;
 
48
 
 
49
  .data    :
 
50
  {
 
51
    *(.data*)
 
52
    *(.sdata*)
 
53
  }
 
54
  _edata  =  .;
 
55
  PROVIDE (edata = .);
 
56
 
 
57
  . = .;
 
58
 
 
59
  . = ALIGN(4);
 
60
  .u_boot_list : {
 
61
        KEEP(*(SORT(.u_boot_list*)));
 
62
  }
 
63
 
 
64
 
 
65
  . = .;
 
66
  __start___ex_table = .;
 
67
  __ex_table : { *(__ex_table) }
 
68
  __stop___ex_table = .;
 
69
 
 
70
  . = ALIGN(256);
 
71
  __init_begin = .;
 
72
  .text.init : { *(.text.init) }
 
73
  .data.init : { *(.data.init) }
 
74
  . = ALIGN(256);
 
75
  __init_end = .;
 
76
 
 
77
  __bss_start = .;
 
78
  .bss (NOLOAD)       :
 
79
  {
 
80
   *(.bss*)
 
81
   *(.sbss*)
 
82
   *(COMMON)
 
83
   . = ALIGN(4);
 
84
  }
 
85
  __bss_end = . ;
 
86
  PROVIDE (end = .);
 
87
}