]> git.ipfire.org Git - thirdparty/u-boot.git/blob - board/freescale/m53017evb/u-boot.lds
Add GPL-2.0+ SPDX-License-Identifier to source files
[thirdparty/u-boot.git] / board / freescale / m53017evb / u-boot.lds
1 /*
2 * (C) Copyright 2000
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 *
5 * SPDX-License-Identifier: GPL-2.0+
6 */
7
8 OUTPUT_ARCH(m68k)
9
10 SECTIONS
11 {
12 /* Read-only sections, merged into text segment: */
13 .text :
14 {
15 arch/m68k/cpu/mcf532x/start.o (.text*)
16 arch/m68k/cpu/mcf532x/libmcf532x.o (.text*)
17 arch/m68k/lib/libm68k.o (.text*)
18
19 . = DEFINED(env_offset) ? env_offset : .;
20 common/env_embedded.o (.text*)
21
22 *(.text*)
23 }
24 _etext = .;
25 PROVIDE (etext = .);
26 .rodata :
27 {
28 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
29 }
30
31 /* Read-write section, merged into data segment: */
32 . = (. + 0x00FF) & 0xFFFFFF00;
33 _erotext = .;
34 PROVIDE (erotext = .);
35
36 .reloc :
37 {
38 __got_start = .;
39 KEEP(*(.got))
40 __got_end = .;
41 _GOT2_TABLE_ = .;
42 KEEP(*(.got2))
43 _FIXUP_TABLE_ = .;
44 KEEP(*(.fixup))
45 }
46 __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2;
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 __start___ex_table = .;
66 __ex_table : { *(__ex_table) }
67 __stop___ex_table = .;
68
69 . = ALIGN(256);
70 __init_begin = .;
71 .text.init : { *(.text.init) }
72 .data.init : { *(.data.init) }
73 . = ALIGN(256);
74 __init_end = .;
75
76 __bss_start = .;
77 .bss (NOLOAD) :
78 {
79 _sbss = .;
80 *(.sbss*)
81 *(.bss*)
82 *(COMMON)
83 . = ALIGN(4);
84 _ebss = .;
85 }
86 __bss_end = . ;
87 PROVIDE (end = .);
88 }