Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / SLOF / clients / net-snk / client.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 ENTRY(_entry)
16
17 SECTIONS {
18         . = 0xF000100;
19         .text :
20         {
21           __client_start = .;
22           *(.text* .stub .gnu.linkonce.t.*)
23           *(.sfpr .glink)
24         }
25
26         . = ALIGN(0x100);
27         .rodata :
28         {
29           *(.rodata* .gnu.linkonce.r.*)
30         }
31
32         . = ALIGN(0x10);
33         .data :
34         {
35           *(.data* .gnu.linkonce.d.*)
36           *(.force.data)
37           *(.toc1)
38           *(.branch_lt)
39         }
40
41         . = ALIGN(0x10);
42         .opd :
43         {
44           *(.opd)
45         }
46
47         . = ALIGN(0x10);
48         .got :
49         {
50           _got = .;
51           *(.got)
52           *(.toc)
53           _got_end = .;
54         }
55
56         . = ALIGN(0x1000);
57         .bss :
58         {
59           *(*COM* .bss* .gnu.linkonce.b.*)
60         }
61         __client_end = .;
62
63         .dynsym : { *(.dynsym) }
64         .dynstr : { *(.dynstr) }
65         . = ALIGN(0x10);
66         .dynamic : {
67           *(.dynamic)
68         }
69         . = ALIGN(0x10);
70         .rela.dyn : {
71           *(.rela*)
72         }
73         .hash : { *(.hash) }
74
75         .comment : {
76           /*
77            * Discarding this section caused errors on binutils 2.23,
78            * this is fixed in 2.24.
79            */
80           *(.comment)
81         }
82         /DISCARD/ : {
83           *(.interp)
84         }
85 }