diff options
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r-- | arch/powerpc/kernel/vmlinux.lds.S | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S index 7fca9355fd3d..244e3658983c 100644 --- a/arch/powerpc/kernel/vmlinux.lds.S +++ b/arch/powerpc/kernel/vmlinux.lds.S | |||
@@ -37,13 +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 | *(.discard) | ||
44 | EXIT_DATA | ||
45 | } | ||
46 | |||
47 | . = KERNELBASE; | 40 | . = KERNELBASE; |
48 | 41 | ||
49 | /* | 42 | /* |
@@ -299,4 +292,7 @@ SECTIONS | |||
299 | . = ALIGN(PAGE_SIZE); | 292 | . = ALIGN(PAGE_SIZE); |
300 | _end = . ; | 293 | _end = . ; |
301 | PROVIDE32 (end = .); | 294 | PROVIDE32 (end = .); |
295 | |||
296 | /* Sections to be discarded. */ | ||
297 | DISCARDS | ||
302 | } | 298 | } |