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