Эх сурвалжийг харах

ARM: vmlinux.lds: Move unwind tables into _stext.._etext

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Russell King 14 жил өмнө
parent
commit
74b0ec0708

+ 2 - 2
arch/arm/kernel/vmlinux.lds.S

@@ -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;