2 * File: arch/blackfin/kernel/vmlinux.lds.S
3 * Based on: none - original work
6 * Created: Tue Sep 21 2004
7 * Description: Master linker script for blackfin architecture
10 * Copyright 2004-2007 Analog Devices Inc.
12 * Bugs: Enter bugs at http://blackfin.uclinux.org/
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2 of the License, or
17 * (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, see the file COPYING, or write
26 * to the Free Software Foundation, Inc.,
27 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
30 #define VMLINUX_SYMBOL(_sym_) _##_sym_
32 #include <asm-generic/vmlinux.lds.h>
33 #include <asm/mem_map.h>
35 OUTPUT_FORMAT("elf32-bfin")
37 _jiffies = _jiffies_64;
54 ___start___ex_table = .;
56 ___stop___ex_table = .;
73 *(.data.cacheline_aligned)
94 ___initcall_start = .;
97 ___con_initcall_start = .;
99 ___con_initcall_end = .;
100 ___security_initcall_start = .;
101 *(.security_initcall.init)
102 ___security_initcall_end = .;
104 ___initramfs_start = .;
106 ___initramfs_end = .;
112 .text_l1 L1_CODE_START : AT(LOADADDR(.init) + SIZEOF(.init))
122 .data_l1 L1_DATA_A_START : AT(LOADADDR(.text_l1) + SIZEOF(.text_l1))
134 *(.data_l1.cacheline_aligned)
140 .data_b_l1 L1_DATA_B_START : AT(LOADADDR(.data_l1) + SIZEOF(.data_l1))
155 ___init_end = LOADADDR(.data_b_l1) + SIZEOF(.data_b_l1);
157 .bss LOADADDR(.data_b_l1) + SIZEOF(.data_b_l1) :