aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2016-09-28 17:43:25 -0400
committerVineet Gupta <vgupta@synopsys.com>2016-09-30 17:48:23 -0400
commit99a2ca65d558ecdea4c184baad6730f2aec3aad0 (patch)
tree80d8a5c1584abc3300c4c061991db76a6851bb68 /arch/arc/kernel/vmlinux.lds.S
parent86effd0dc675c36caed7b954d7f4f63b77c353b5 (diff)
ARC: .exit.* sections can be discarded in .eh_frame regime
We used to keep the .exit.* sections as linker would fail in final link due to references from .debug_frame which itself could not be discardrd due to the forced "write,alloc" attributes for it. | LD init/built-in.o | `.exit.text' referenced in section `.debug_frame' of arch/arc/built-in.o: defined in discarded section `.exit.text' of arch/arc/built-in.o | Makefile:949: recipe for target 'vmlinux' failed With .debug_frame now retired, this hack is no longer needed. kernel binary is now a little bit smaller as well. closes STAR 9000549913 Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/vmlinux.lds.S')
-rw-r--r--arch/arc/kernel/vmlinux.lds.S8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arc/kernel/vmlinux.lds.S b/arch/arc/kernel/vmlinux.lds.S
index bb6d8c5ff2e9..36611072305f 100644
--- a/arch/arc/kernel/vmlinux.lds.S
+++ b/arch/arc/kernel/vmlinux.lds.S
@@ -82,14 +82,6 @@ SECTIONS
82 82
83 PERCPU_SECTION(L1_CACHE_BYTES) 83 PERCPU_SECTION(L1_CACHE_BYTES)
84 84
85 /*
86 * .exit.text is discard at runtime, not link time, to deal with
87 * references from unwinding sections
88 * It will be init freed, being inside [__init_start : __init_end]
89 */
90 .exit.text : { EXIT_TEXT }
91 .exit.data : { EXIT_DATA }
92
93 . = ALIGN(PAGE_SIZE); 85 . = ALIGN(PAGE_SIZE);
94 __init_end = .; 86 __init_end = .;
95 87