summaryrefslogtreecommitdiff
path: root/util/mkelfImage/linux-ia64/convert.lds
blob: c729a5235f740ed79861ae023f931211826595fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
OUTPUT_FORMAT("elf64-ia64-little")
OUTPUT_ARCH(ia64)

ENTRY(_start)
SECTIONS {
	/* . = 0; */
	. = 0x0000000004400000;
	.text : {
		_text = . ;
		*(.text)
		*(.rodaa)
		*(.rodata.*)
		_etext = . ;
	}
	. = ALIGN(16);
	__gp = . + 0x200000;
	.sdata : {
		_sdata = . ;
		*(.got.plt)
		*(.got)
		*(.srodata)
		*(.sdata)
		_esdata = . ;
	}
	.data : {
		_data = . ;
		*(.data)
		*(.data.*)
		*(.trailer)
		_edata = . ;
	}
	/DISCARD/ : {
		*(.comment)
		*(.note)
	}
}