Subversion Repositories HelenOS-historic

Rev

Rev 1157 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1157 decky 1
/*
2
 *  PPC linker script
3
 *
4
 */
5
 
1166 decky 6
OUTPUT_FORMAT("elf64-powerpc")
7
OUTPUT_ARCH("powerpc:common64")
1157 decky 8
ENTRY(start)
9
 
10
SECTIONS {
11
	.boot 0x0000000010000000: AT (0) { 
12
		*(BOOTSTRAP);
13
		*(REALMODE);
14
		*(.text);
15
 
16
		*(.rodata);
17
		*(.rodata.*);
18
		*(.data);		/* initialized data */
19
		*(.sdata);
20
		*(.sdata2);
21
		*(.sbss);
22
		*(.bss);		/* uninitialized static variables */	
23
		*(COMMON); 		/* global variables */
24
 
25
		. = ALIGN(4096);
26
		*(.image);
27
	}
28
}