Subversion Repositories HelenOS

Rev

Rev 1963 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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