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
13OUTPUT_FORMAT("elf64-powerpc", "elf64-powerpc", "elf64-powerpc")
14OUTPUT_ARCH(powerpc:common64)
15ENTRY(_start_OF)
16
17
18SECTIONS
19{
20	. = 0x0E100100;
21	_start_OF = .;
22	.slof.loader : { *(.slof.loader) }
23	. = ALIGN(0x100);
24	_slof_text = .;
25	.text : { *(.entry_text) *(.text) } = 0x60000000
26	_slof_text_end = .;
27	. = ALIGN(8);
28	_slof_text_size = (_slof_text_end - _slof_text);
29
30	. = ALIGN(0x100);
31	.opd :
32	{
33		_slof_data = .;
34		*(.opd)
35	}
36	. = ALIGN(8);
37	.got :
38	{
39		*(.got .toc)
40	}
41
42	.data : {
43		*(.rodata .rodata.*)
44		*(.data .data.*)
45		*(.note.gnu.build-id)
46	}
47
48	.comment : { *(.comment) }
49	.branch_lt : { *(.branch_lt) }
50
51	. = ALIGN(8);
52	_slof_data_end = .;
53	_slof_data_size = (_slof_data_end - _slof_data);
54
55	.bss :
56	{
57	  _slof_bss = .;
58	  *(*COM* .bss .sbss .gnu.linkonce.b.*)
59	  _slof_bss_end = .;
60	}
61	_slof_bss_size = (_slof_bss_end - _slof_bss);
62
63	. = ALIGN(0x1000);
64	the_mem = .;
65}
66