Blame view

arch/h8300/kernel/vmlinux.lds.S 2.31 KB
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
  #include <asm-generic/vmlinux.lds.h>
eb121d1f1   Tim Abbott   h8300: Cleanup li...
2
  #include <asm/page.h>
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
  
  /* target memory map */
  #ifdef CONFIG_H8300H_GENERIC
  #define ROMTOP  0x000000
  #define ROMSIZE 0x400000
  #define RAMTOP  0x400000
  #define RAMSIZE 0x400000
  #endif
  
  #ifdef CONFIG_H8300H_AKI3068NET
  #define ROMTOP  0x000000
  #define ROMSIZE 0x080000
  #define RAMTOP  0x400000
  #define RAMSIZE 0x200000
  #endif
  
  #ifdef CONFIG_H8300H_H8MAX
  #define ROMTOP  0x000000
  #define ROMSIZE 0x080000
  #define RAMTOP  0x400000
  #define RAMSIZE 0x200000
  #endif
  
  #ifdef CONFIG_H8300H_SIM
  #define ROMTOP  0x000000
  #define ROMSIZE 0x400000
  #define RAMTOP  0x400000
  #define RAMSIZE 0x400000
  #endif
  
  #ifdef CONFIG_H8S_SIM
  #define ROMTOP  0x000000
  #define ROMSIZE 0x400000
  #define RAMTOP  0x400000
  #define RAMSIZE 0x800000
  #endif
  
  #ifdef CONFIG_H8S_EDOSK2674
  #define ROMTOP  0x000000
  #define ROMSIZE 0x400000
  #define RAMTOP  0x400000
  #define RAMSIZE 0x800000
  #endif
  
  #if defined(CONFIG_H8300H_SIM) || defined(CONFIG_H8S_SIM)
  INPUT(romfs.o)
  #endif
  
  _jiffies = _jiffies_64 + 4;
  
  ENTRY(__start)
  
  SECTIONS
  {
  #if defined(CONFIG_ROMKERNEL)
  	. = ROMTOP; 
  	.vectors :
  	{
  	__vector = . ;
  		*(.vectors*)
  	}
  #else
  	. = RAMTOP; 
  	.bootvec :	
  	{
  		*(.bootvec)
  	}
  #endif
          .text :
  	{
fd593d127   Eric W. Biederman   [PATCH] relocatab...
73
  	_text = .;
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
74
75
76
77
  #if defined(CONFIG_ROMKERNEL)
  	*(.int_redirect)
  #endif
  	__stext = . ;
7664709b4   Sam Ravnborg   all-archs: consol...
78
  	TEXT_TEXT
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
79
80
81
  	SCHED_TEXT
  	LOCK_TEXT
  	__etext = . ;
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
82
  	}
eb121d1f1   Tim Abbott   h8300: Cleanup li...
83
  	EXCEPTION_TABLE(16)
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
  
  	RODATA
  #if defined(CONFIG_ROMKERNEL)
  	SECURITY_INIT
  #endif
  	ROEND = .; 
  #if defined(CONFIG_ROMKERNEL)
  	. = RAMTOP;
  	.data :	AT(ROEND)
  #else
  	.data :	
  #endif
  	{
  	__sdata = . ;
  	___data_start = . ;
eb121d1f1   Tim Abbott   h8300: Cleanup li...
99
  	INIT_TASK_DATA(0x2000)
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
100
  	. = ALIGN(0x4) ;
ca967258b   Sam Ravnborg   all-archs: consol...
101
  		DATA_DATA
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
102
103
104
105
106
107
  	. = ALIGN(0x4) ;
  		*(.data.*)	
  
  	. = ALIGN(0x4) ;
  	___init_begin = .;
  	__sinittext = .; 
01ba2bdc6   Sam Ravnborg   all archs: consol...
108
  		INIT_TEXT
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
109
  	__einittext = .; 
01ba2bdc6   Sam Ravnborg   all archs: consol...
110
  		INIT_DATA
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
111
  	. = ALIGN(0x4) ;
eb121d1f1   Tim Abbott   h8300: Cleanup li...
112
  	INIT_SETUP(0x4)
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
113
114
115
116
  	___setup_start = .;
  		*(.init.setup)
  	. = ALIGN(0x4) ;
  	___setup_end = .;
eb121d1f1   Tim Abbott   h8300: Cleanup li...
117
118
  	INIT_CALLS
  	CON_INITCALL
01ba2bdc6   Sam Ravnborg   all archs: consol...
119
120
  		EXIT_TEXT
  		EXIT_DATA
eb121d1f1   Tim Abbott   h8300: Cleanup li...
121
  	INIT_RAM_FS
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
  	. = ALIGN(0x4) ;
  	___init_end = .;
  	__edata = . ;
  	}
  #if defined(CONFIG_RAMKERNEL)
  	SECURITY_INIT
  #endif
  	__begin_data = LOADADDR(.data);
          .bss : 
          {
  	. = ALIGN(0x4) ;
  	__sbss = . ;
  		*(.bss*)
  	. = ALIGN(0x4) ;
  		*(COMMON)
  	. = ALIGN(0x4) ;
  	__ebss = . ;
  	__end = . ;
  	__ramstart = .;
  	}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
142
143
144
145
146
147
148
149
150
151
          .romfs :	
  	{
  		*(.romfs*)
  	}
  	. = RAMTOP+RAMSIZE;
          .dummy :
          {
  	COMMAND_START = . - 0x200 ;
  	__ramend = . ;
  	}
023bf6f1b   Tejun Heo   linker script: un...
152
153
  
  	DISCARDS
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
154
  }