Mike Frysinger | fb5166c | 2011-05-07 17:55:04 -0400 | [diff] [blame] | 1 | /* |
2 | * linker script for simple init.elf | ||||
3 | * | ||||
4 | * Copyright (c) 2005-2011 Analog Device Inc. | ||||
5 | * | ||||
6 | * Licensed under the GPL-2 or later. | ||||
7 | */ | ||||
8 | |||||
9 | #include <config.h> | ||||
10 | #include <asm/blackfin.h> | ||||
11 | #undef ALIGN | ||||
12 | #undef ENTRY | ||||
13 | |||||
14 | OUTPUT_ARCH(bfin) | ||||
15 | |||||
16 | MEMORY | ||||
17 | { | ||||
18 | l1_code : ORIGIN = L1_INST_SRAM, LENGTH = L1_INST_SRAM_SIZE | ||||
19 | } | ||||
20 | |||||
21 | ENTRY(_start) | ||||
22 | SECTIONS | ||||
23 | { | ||||
24 | .text.l1 : { *(.text .text.*) } >l1_code | ||||
25 | } |