1/* ld script to make hppa Linux kernel */
2OUTPUT_ARCH(hppa:hppa2.0w)
3ENTRY(_stext)
4SECTIONS
5{
6
7  . = 0x10100000;
8
9  _text = .;			/* Text and read-only data */
10  .text BLOCK(16) : {
11	*(.text*)
12	*(.PARISC.unwind)
13	*(.fixup)
14	*(.lock.text)		/* out-of-line lock text */
15	*(.gnu.warning)
16	} = 0
17
18  . = ALIGN(16);
19  .rodata : { *(.rodata) }
20  .kstrtab : { *(.kstrtab) }
21
22  _etext = .;			/* End of text section */
23  
24  .data BLOCK(8192) : {			/* Data without special */
25	data_start = .;
26	*(.data)
27	}
28
29  . = ALIGN(16);		/* Exception table */
30  __start___ex_table = .;
31  __ex_table : { *(__ex_table) }
32  __stop___ex_table = .;
33
34  __start___ksymtab = .;	/* Kernel symbol table */
35  __ksymtab : { *(__ksymtab) }
36  __stop___ksymtab = .;
37
38  . = ALIGN(16);		/* Linkage tables */
39  .opd : { *(.opd) } PROVIDE (__gp = .); .plt : { *(.plt) } .dlt : { *(.dlt) }
40
41  . = ALIGN(16384);
42  __init_begin = .;
43  .init.text : { *(.init.text) }
44  .init.data : { *(.init.data) }
45  . = ALIGN(16);
46  __setup_start = .;
47  .setup.init : { *(.setup.init) }
48  __setup_end = .;
49  __initcall_start = .;
50  .initcall.init : { *(.initcall.init) } 
51  __initcall_end = .;
52  __init_end = .;
53
54
55  init_task BLOCK(16384) : { *(init_task) }  /* The initial task and kernel stack */
56  init_istack BLOCK(32768) : { *(init_task) }  /* The initial interrupt stack */
57
58  _edata = .;			/* End of data section */
59
60
61  .bss : { *(.bss) *(COMMON) }		/* BSS */
62
63
64  _end = . ;
65
66  /* Stabs debugging sections.  */
67  .stab 0 : { *(.stab) }
68  .stabstr 0 : { *(.stabstr) }
69  .stab.excl 0 : { *(.stab.excl) }
70  .stab.exclstr 0 : { *(.stab.exclstr) }
71  .stab.index 0 : { *(.stab.index) }
72  .stab.indexstr 0 : { *(.stab.indexstr) }
73  .comment 0 : { *(.comment) }
74  .note 0 : { *(.note) }	
75	
76}
77