diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-09-16 00:48:32 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-09-16 00:48:32 -0400 |
commit | ea88023b3491a384575ebcd5e8a449e841a28a24 (patch) | |
tree | f46e3d8302e44dc55ce31823501e100472d29683 /arch/powerpc/kernel/vmlinux.lds.S | |
parent | a6f15ade97989d414e9bf33874c9d5d1f39808ec (diff) | |
parent | 0cb583fd2862f19ea88b02eb307d11c09e51e2f8 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts:
arch/sh/kernel/vmlinux.lds.S
Diffstat (limited to 'arch/powerpc/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/powerpc/kernel/vmlinux.lds.S | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S index 8ef8a14abc95..58da4070723d 100644 --- a/arch/powerpc/kernel/vmlinux.lds.S +++ b/arch/powerpc/kernel/vmlinux.lds.S | |||
@@ -37,12 +37,6 @@ jiffies = jiffies_64 + 4; | |||
37 | #endif | 37 | #endif |
38 | SECTIONS | 38 | SECTIONS |
39 | { | 39 | { |
40 | /* Sections to be discarded. */ | ||
41 | /DISCARD/ : { | ||
42 | *(.exitcall.exit) | ||
43 | EXIT_DATA | ||
44 | } | ||
45 | |||
46 | . = KERNELBASE; | 40 | . = KERNELBASE; |
47 | 41 | ||
48 | /* | 42 | /* |
@@ -245,10 +239,6 @@ SECTIONS | |||
245 | } | 239 | } |
246 | #endif | 240 | #endif |
247 | 241 | ||
248 | . = ALIGN(PAGE_SIZE); | ||
249 | _edata = .; | ||
250 | PROVIDE32 (edata = .); | ||
251 | |||
252 | /* The initial task and kernel stack */ | 242 | /* The initial task and kernel stack */ |
253 | #ifdef CONFIG_PPC32 | 243 | #ifdef CONFIG_PPC32 |
254 | . = ALIGN(8192); | 244 | . = ALIGN(8192); |
@@ -282,6 +272,10 @@ SECTIONS | |||
282 | __nosave_end = .; | 272 | __nosave_end = .; |
283 | } | 273 | } |
284 | 274 | ||
275 | . = ALIGN(PAGE_SIZE); | ||
276 | _edata = .; | ||
277 | PROVIDE32 (edata = .); | ||
278 | |||
285 | /* | 279 | /* |
286 | * And finally the bss | 280 | * And finally the bss |
287 | */ | 281 | */ |
@@ -298,4 +292,7 @@ SECTIONS | |||
298 | . = ALIGN(PAGE_SIZE); | 292 | . = ALIGN(PAGE_SIZE); |
299 | _end = . ; | 293 | _end = . ; |
300 | PROVIDE32 (end = .); | 294 | PROVIDE32 (end = .); |
295 | |||
296 | /* Sections to be discarded. */ | ||
297 | DISCARDS | ||
301 | } | 298 | } |