]> git.ipfire.org Git - people/ms/u-boot.git/blame - board/freescale/m53017evb/u-boot.lds
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / board / freescale / m53017evb / u-boot.lds
CommitLineData
536e7dac
TL
1/*
2 * (C) Copyright 2000
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 *
1a459660 5 * SPDX-License-Identifier: GPL-2.0+
536e7dac
TL
6 */
7
8OUTPUT_ARCH(m68k)
6c0bf27d 9
536e7dac
TL
10SECTIONS
11{
12 /* Read-only sections, merged into text segment: */
536e7dac
TL
13 .text :
14 {
6c0bf27d
JJ
15 arch/m68k/cpu/mcf532x/start.o (.text*)
16 arch/m68k/cpu/mcf532x/libmcf532x.o (.text*)
17 arch/m68k/lib/libm68k.o (.text*)
536e7dac
TL
18
19 . = DEFINED(env_offset) ? env_offset : .;
6c0bf27d 20 common/env_embedded.o (.text*)
536e7dac 21
6c0bf27d 22 *(.text*)
536e7dac
TL
23 }
24 _etext = .;
25 PROVIDE (etext = .);
26 .rodata :
27 {
f62fb999 28 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
536e7dac 29 }
536e7dac
TL
30
31 /* Read-write section, merged into data segment: */
32 . = (. + 0x00FF) & 0xFFFFFF00;
33 _erotext = .;
34 PROVIDE (erotext = .);
35
36 .reloc :
37 {
38 __got_start = .;
6c0bf27d 39 KEEP(*(.got))
536e7dac
TL
40 __got_end = .;
41 _GOT2_TABLE_ = .;
6c0bf27d 42 KEEP(*(.got2))
536e7dac 43 _FIXUP_TABLE_ = .;
6c0bf27d 44 KEEP(*(.fixup))
536e7dac
TL
45 }
46 __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2;
47 __fixup_entries = (. - _FIXUP_TABLE_)>>2;
48
49 .data :
50 {
6c0bf27d
JJ
51 *(.data*)
52 *(.sdata*)
536e7dac
TL
53 }
54 _edata = .;
55 PROVIDE (edata = .);
56
57 . = .;
536e7dac 58
55675142
MV
59 . = ALIGN(4);
60 .u_boot_list : {
ef123c52 61 KEEP(*(SORT(.u_boot_list*)));
55675142
MV
62 }
63
536e7dac
TL
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 = .;
6c0bf27d
JJ
80 *(.sbss*)
81 *(.bss*)
536e7dac
TL
82 *(COMMON)
83 . = ALIGN(4);
84 _ebss = .;
85 }
3929fb0a 86 __bss_end = . ;
536e7dac
TL
87 PROVIDE (end = .);
88}