Subversion Repositories HelenOS-historic

Rev

Rev 1166 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1166 Rev 1219
1
/*
1
/*
2
 *  PPC linker script
2
 *  PPC linker script
3
 *
3
 *
4
 */
4
 */
5
 
5
 
6
OUTPUT_FORMAT("elf32-powerpc")
6
OUTPUT_FORMAT("elf32-powerpc")
7
OUTPUT_ARCH(powerpc:common)
7
OUTPUT_ARCH(powerpc:common)
8
ENTRY(start)
8
ENTRY(start)
9
 
9
 
10
SECTIONS {
10
SECTIONS {
11
	.boot 0x10000000: AT (0) { 
11
	.boot 0x10000000: 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
		*(.kernel_image);
-
 
27
		
-
 
28
		. = ALIGN(4096);
26
		*(.image);
29
		*(.init_image);
27
	}
30
	}
28
}
31
}
29
 
32