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

« back to all changes in this revision

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