diff options
| -rw-r--r-- | arch/arm/kernel/vmlinux.lds.S | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S index 71151bd87a36..4957e13ef55b 100644 --- a/arch/arm/kernel/vmlinux.lds.S +++ b/arch/arm/kernel/vmlinux.lds.S | |||
| @@ -65,11 +65,11 @@ SECTIONS | |||
| 65 | __init_end = .; | 65 | __init_end = .; |
| 66 | #endif | 66 | #endif |
| 67 | 67 | ||
| 68 | /DISCARD/ : { /* Exit code and data */ | 68 | /* |
| 69 | EXIT_TEXT | 69 | * unwind exit sections must be discarded before the rest of the |
| 70 | EXIT_DATA | 70 | * unwind sections get included. |
| 71 | *(.exitcall.exit) | 71 | */ |
| 72 | *(.discard) | 72 | /DISCARD/ : { |
| 73 | *(.ARM.exidx.exit.text) | 73 | *(.ARM.exidx.exit.text) |
| 74 | *(.ARM.extab.exit.text) | 74 | *(.ARM.extab.exit.text) |
| 75 | #ifndef CONFIG_HOTPLUG_CPU | 75 | #ifndef CONFIG_HOTPLUG_CPU |
| @@ -238,6 +238,9 @@ SECTIONS | |||
| 238 | 238 | ||
| 239 | STABS_DEBUG | 239 | STABS_DEBUG |
| 240 | .comment 0 : { *(.comment) } | 240 | .comment 0 : { *(.comment) } |
| 241 | |||
| 242 | /* Default discards */ | ||
| 243 | DISCARDS | ||
| 241 | } | 244 | } |
| 242 | 245 | ||
| 243 | /* | 246 | /* |
