diff options
Diffstat (limited to 'arch/arm/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/arm/kernel/vmlinux.lds.S | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S index b31aa73e8076..7a301be9ac67 100644 --- a/arch/arm/kernel/vmlinux.lds.S +++ b/arch/arm/kernel/vmlinux.lds.S | |||
@@ -74,7 +74,7 @@ SECTIONS | |||
74 | ARM_EXIT_DISCARD(EXIT_DATA) | 74 | ARM_EXIT_DISCARD(EXIT_DATA) |
75 | EXIT_CALL | 75 | EXIT_CALL |
76 | #ifndef CONFIG_MMU | 76 | #ifndef CONFIG_MMU |
77 | *(.fixup) | 77 | *(.text.fixup) |
78 | *(__ex_table) | 78 | *(__ex_table) |
79 | #endif | 79 | #endif |
80 | #ifndef CONFIG_SMP_ON_UP | 80 | #ifndef CONFIG_SMP_ON_UP |
@@ -100,6 +100,7 @@ SECTIONS | |||
100 | 100 | ||
101 | .text : { /* Real text segment */ | 101 | .text : { /* Real text segment */ |
102 | _stext = .; /* Text and read-only data */ | 102 | _stext = .; /* Text and read-only data */ |
103 | IDMAP_TEXT | ||
103 | __exception_text_start = .; | 104 | __exception_text_start = .; |
104 | *(.exception.text) | 105 | *(.exception.text) |
105 | __exception_text_end = .; | 106 | __exception_text_end = .; |
@@ -108,10 +109,6 @@ SECTIONS | |||
108 | SCHED_TEXT | 109 | SCHED_TEXT |
109 | LOCK_TEXT | 110 | LOCK_TEXT |
110 | KPROBES_TEXT | 111 | KPROBES_TEXT |
111 | IDMAP_TEXT | ||
112 | #ifdef CONFIG_MMU | ||
113 | *(.fixup) | ||
114 | #endif | ||
115 | *(.gnu.warning) | 112 | *(.gnu.warning) |
116 | *(.glue_7) | 113 | *(.glue_7) |
117 | *(.glue_7t) | 114 | *(.glue_7t) |