These changes are the raw update to qemu-2.6.
[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         . = ALIGN(256);
49         __toc_start = DEFINED (.TOC.) ? .TOC. : ADDR (.got) + 0x8000;
50         .got       :
51         {
52                  *(.toc .got)
53         }
54         . = ALIGN(8);
55         __toc_end = .;                                                                         
56         __stack_end = . ;
57 }