Statistics
| Branch: | Revision:

root / prex-0.9.0 / bsp / drv / ppc / arch / driver.ld @ 03e9c04a

History | View | Annotate | Download (423 Bytes)

1
/*
2
 * Linker script for driver
3
 */
4
INCLUDE config.ld
5
OUTPUT_FORMAT("elf32-powerpc")
6
OUTPUT_ARCH(powerpc)
7
ENTRY(driver_main)
8
SECTIONS
9
{
10
	. = SIZEOF_HEADERS ;
11

    
12
	.text . : {
13
		*(.text)
14
	}
15
	. = ALIGN(4);
16
	.rodata . : {
17
		*(.rodata)
18
		*(.rodata.*)
19
	}
20
	. = ALIGN(4);
21
	.data . : {
22
		*(.data)
23
		*(.sdata)
24
		*(.sdata2)
25
	}
26
	. = ALIGN(4);
27
	.bss . : {
28
		*(.sbss)
29
		*(.bss)
30
		*(COMMON)
31
	}
32

    
33
	/DISCARD/ : { *(.comment .note .debug_*) }
34
}