]> git.ipfire.org Git - people/ms/u-boot.git/blame - board/freescale/m52277evb/u-boot.lds
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / board / freescale / m52277evb / u-boot.lds
CommitLineData
1552af70
TL
1/*
2 * (C) Copyright 2000
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 *
1a459660 5 * SPDX-License-Identifier: GPL-2.0+
1552af70
TL
6 */
7
8OUTPUT_ARCH(m68k)
6c0bf27d 9
1552af70
TL
10SECTIONS
11{
12 /* Read-only sections, merged into text segment: */
1552af70
TL
13 .text :
14 {
6c0bf27d
JJ
15 arch/m68k/cpu/mcf5227x/start.o (.text*)
16 arch/m68k/cpu/mcf5227x/libmcf5227x.o (.text*)
17 arch/m68k/lib/libm68k.o (.text*)
1552af70 18
6c0bf27d 19 *(.text*)
1552af70
TL
20 }
21 _etext = .;
22 PROVIDE (etext = .);
23 .rodata :
24 {
6c0bf27d 25 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
1552af70 26 }
1552af70
TL
27
28 /* Read-write section, merged into data segment: */
29 . = (. + 0x00FF) & 0xFFFFFF00;
30 _erotext = .;
31 PROVIDE (erotext = .);
32
33 .reloc :
34 {
35 __got_start = .;
6c0bf27d 36 KEEP(*(.got))
1552af70
TL
37 __got_end = .;
38 _GOT2_TABLE_ = .;
6c0bf27d 39 KEEP(*(.got2))
1552af70 40 _FIXUP_TABLE_ = .;
6c0bf27d 41 KEEP(*(.fixup))
1552af70
TL
42 }
43 __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2;
44 __fixup_entries = (. - _FIXUP_TABLE_)>>2;
45
46 .data :
47 {
6c0bf27d
JJ
48 *(.data*)
49 *(.sdata*)
1552af70
TL
50 }
51 _edata = .;
52 PROVIDE (edata = .);
53
54 . = .;
1552af70 55
55675142
MV
56 . = ALIGN(4);
57 .u_boot_list : {
ef123c52 58 KEEP(*(SORT(.u_boot_list*)));
55675142
MV
59 }
60
1552af70
TL
61 . = .;
62 __start___ex_table = .;
63 __ex_table : { *(__ex_table) }
64 __stop___ex_table = .;
65
66 . = ALIGN(256);
67 __init_begin = .;
68 .text.init : { *(.text.init) }
69 .data.init : { *(.data.init) }
70 . = ALIGN(256);
71 __init_end = .;
72
73 __bss_start = .;
6c0bf27d 74 .bss (NOLOAD) :
1552af70
TL
75 {
76 _sbss = .;
6c0bf27d
JJ
77 *(.sbss*)
78 *(.bss*)
1552af70
TL
79 *(COMMON)
80 . = ALIGN(4);
81 _ebss = .;
82 }
3929fb0a 83 __bss_end = . ;
1552af70
TL
84 PROVIDE (end = .);
85}