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

« back to all changes in this revision

Viewing changes to roms/u-boot/board/stx/stxxtc/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
    arch/powerpc/cpu/mpc8xx/start.o     (.text*)
 
17
    arch/powerpc/cpu/mpc8xx/traps.o     (.text*)
 
18
 
 
19
    *(.text*)
 
20
  }
 
21
  _etext = .;
 
22
  PROVIDE (etext = .);
 
23
  .rodata    :
 
24
  {
 
25
    *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
 
26
  }
 
27
 
 
28
  /* Read-write section, merged into data segment: */
 
29
  . = (. + 0x00FF) & 0xFFFFFF00;
 
30
  _erotext = .;
 
31
  PROVIDE (erotext = .);
 
32
  .reloc   :
 
33
  {
 
34
    _GOT2_TABLE_ = .;
 
35
    KEEP(*(.got2))
 
36
    KEEP(*(.got))
 
37
    PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
 
38
    _FIXUP_TABLE_ = .;
 
39
    KEEP(*(.fixup))
 
40
  }
 
41
  __got2_entries = ((_GLOBAL_OFFSET_TABLE_ - _GOT2_TABLE_) >> 2) - 1;
 
42
  __fixup_entries = (. - _FIXUP_TABLE_)>>2;
 
43
 
 
44
  .data    :
 
45
  {
 
46
    *(.data*)
 
47
    *(.sdata*)
 
48
  }
 
49
  _edata  =  .;
 
50
  PROVIDE (edata = .);
 
51
 
 
52
  . = .;
 
53
 
 
54
  . = ALIGN(4);
 
55
  .u_boot_list : {
 
56
        KEEP(*(SORT(.u_boot_list*)));
 
57
  }
 
58
 
 
59
 
 
60
  . = .;
 
61
  __start___ex_table = .;
 
62
  __ex_table : { *(__ex_table) }
 
63
  __stop___ex_table = .;
 
64
 
 
65
  . = ALIGN(256);
 
66
  __init_begin = .;
 
67
  .text.init : { *(.text.init) }
 
68
  .data.init : { *(.data.init) }
 
69
  . = ALIGN(256);
 
70
  __init_end = .;
 
71
 
 
72
  __bss_start = .;
 
73
  .bss (NOLOAD)       :
 
74
  {
 
75
   *(.bss*)
 
76
   *(.sbss*)
 
77
   *(COMMON)
 
78
   . = ALIGN(4);
 
79
  }
 
80
  __bss_end = . ;
 
81
  PROVIDE (end = .);
 
82
}