kernel: ensure that the arm exception handlers get preserved
authorFelix Fietkau <nbd@openwrt.org>
Sun, 10 Mar 2013 17:04:31 +0000 (17:04 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 10 Mar 2013 17:04:31 +0000 (17:04 +0000)
SVN-Revision: 35937

target/linux/generic/patches-3.8/220-gc_sections.patch

index 5fb54a2872010db4bf3eeaf33a8291fb9d864510..89dc863e455d63b3cfc4065164995def09d785b0 100644 (file)
        VMLINUX_SYMBOL(__idmap_text_end) = .;
  
  #ifdef CONFIG_HOTPLUG_CPU
+@@ -93,7 +93,7 @@ SECTIONS
+       .text : {                       /* Real text segment            */
+               _stext = .;             /* Text and read-only data      */
+                       __exception_text_start = .;
+-                      *(.exception.text)
++                      KEEP(*(.exception.text))
+                       __exception_text_end = .;
+                       IRQENTRY_TEXT
+                       TEXT_TEXT
 @@ -118,7 +118,7 @@ SECTIONS
        __ex_table : AT(ADDR(__ex_table) - LOAD_OFFSET) {
                __start___ex_table = .;