Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / SLOF / board-js2x / llfw / stage2.lds
1 /******************************************************************************
2  * Copyright (c) 2004, 2008 IBM Corporation
3  * All rights reserved.
4  * This program and the accompanying materials
5  * are made available under the terms of the BSD License
6  * which accompanies this distribution, and is available at
7  * http://www.opensource.org/licenses/bsd-license.php
8  *
9  * Contributors:
10  *     IBM Corporation - initial implementation
11  *****************************************************************************/
12
13 OUTPUT_FORMAT("elf64-powerpc", "elf64-powerpc", "elf64-powerpc")
14 OUTPUT_ARCH(powerpc:common64)
15
16 /* set the entry point */
17 ENTRY ( __start )
18
19 SECTIONS {
20         .text : {
21                 *(.text)
22         }
23
24         . = ALIGN(8);
25
26         .data : {
27                 *(.data)
28                 *(.rodata .rodata.*)
29                 *(.got1)
30                 *(.sdata)
31                 *(.opd)
32         }
33
34         /* FIXME bss at end ??? */
35
36         . = ALIGN(8);
37         __bss_start = .;
38         .bss : {
39                 *(.sbss) *(.scommon)
40                 *(.dynbss)
41                 *(.bss)
42         }
43
44         . = ALIGN(8);
45         __bss_end = .;
46         __bss_size = (__bss_end - __bss_start);
47
48         __toc_start = .;
49         .got       :
50         {
51                  *(.toc .got)
52         }
53         . = ALIGN(8);
54         __toc_end = .;                                                                         
55         __stack_end = . ;
56 }