]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
ARM: vmlinux.lds: Move unwind tables into _stext.._etext
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 1 Oct 2010 13:26:56 +0000 (14:26 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 8 Oct 2010 09:02:25 +0000 (10:02 +0100)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/vmlinux.lds.S

index fd5750b8ac845e37561016696f456c9f33a8a745..065d35de0e01739b914e2ff6192bd13d1c561f61 100644 (file)
@@ -109,8 +109,6 @@ SECTIONS
 
        RO_DATA(PAGE_SIZE)
 
-       _etext = .;                     /* End of text and rodata section */
-
 #ifdef CONFIG_ARM_UNWIND
        /*
         * Stack unwinding tables
@@ -128,6 +126,8 @@ SECTIONS
        }
 #endif
 
+       _etext = .;                     /* End of text and rodata section */
+
 #ifdef CONFIG_XIP_KERNEL
        __data_loc = ALIGN(4);          /* location in binary */
        . = PAGE_OFFSET + TEXT_OFFSET;