]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/cris/boot/rescue/rescue_v32.lds
CRIS: Merge machine dependent boot/compressed and boot/rescue
[net-next-2.6.git] / arch / cris / boot / rescue / rescue_v32.lds
CommitLineData
14e61beb
JN
1/*#OUTPUT_FORMAT(elf32-us-cris) */
2OUTPUT_ARCH (crisv32)
3/* Now that NAND support has been stripped, this file could be simplified,
4 * but it doesn't do any harm on the other hand so why bother. */
5
51533b61
MS
6MEMORY
7 {
14e61beb
JN
8 bootblk : ORIGIN = 0x38000000,
9 LENGTH = 0x00004000
10 intmem : ORIGIN = 0x38004000,
11 LENGTH = 0x00005000
51533b61
MS
12 }
13
14SECTIONS
15{
16 .text :
17 {
14e61beb 18 _stext = . ;
51533b61 19 *(.text)
14e61beb
JN
20 *(.init.text)
21 *(.rodata)
22 *(.rodata.*)
23 _etext = . ;
24 } > bootblk
51533b61
MS
25 .data :
26 {
27 *(.data)
14e61beb
JN
28 _edata = . ;
29 } > bootblk
30 .bss :
31 {
32 _bss = . ;
33 *(.bss)
34 _end = ALIGN( 0x10 ) ;
35 } > intmem
36
37 /* Get rid of stuff from EXPORT_SYMBOL(foo). */
38 /DISCARD/ :
39 {
40 *(__ksymtab_strings)
41 *(__ksymtab)
42 }
51533b61 43}