Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / openhackware / src / vectors.ld
1 /* 
2  *   <vectors.ld>
3  *      
4  *   Second stage boot-loader and exception vectors for Open Hack'Ware
5  *   linker script
6  *   
7  *   Copyright (C) 2004-2005 Jocelyn Mayer (l_indien@magic.fr)
8  *   
9  *   This program is free software; you can redistribute it and/or
10  *   modify it under the terms of the GNU General Public License V2
11  *   as published by the Free Software Foundation
12  *
13  *   This program is distributed in the hope that it will be useful,
14  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
15  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  *   GNU General Public License for more details.
17  *
18  *   You should have received a copy of the GNU General Public License
19  *   along with this program; if not, write to the Free Software
20  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21  */
22
23 OUTPUT_ARCH(powerpc:common)
24
25 MEMORY
26 {
27         text   (rx)   : ORIGIN = 0x00000000, LENGTH = 0x3000
28         rodata (r)    : ORIGIN = 0x00003000, LENGTH = 0x0C00
29         data   (rw)   : ORIGIN = 0x00003C00, LENGTH = 0x0200
30 }
31
32 SECTIONS
33 {
34         .text     : { *(.text)    } > text
35         .rodata   : { *(.rodata)  } > rodata
36         .data     : { *(.data)    } > data
37         /DISCARD/ : { *(.bss)     }
38         /DISCARD/ : { *(.sbss)    }
39         /DISCARD/ : { *(.sdata)   }
40         /DISCARD/ : { *(.sdata2)  }
41         /DISCARD/ : { *(.stab)    }
42         /DISCARD/ : { *(.stabstr) }
43         /DISCARD/ : { *(.comment) }
44         /DISCARD/ : { *(.note)    }
45 }