Subversion Repositories HelenOS-historic

Rev

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

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