x86/boot: Move the _stext marker to before the boot code
[GitHub/moto-9609/android_kernel_motorola_exynos9610.git] / arch / x86 / kernel / vmlinux.lds.S
index dbf67f64d5ecf76cee128b2c89d43a4267b57223..e79f15f108a8d43d8d5644f7fc967f32c3282b47 100644 (file)
@@ -91,10 +91,10 @@ SECTIONS
        /* Text and read-only data */
        .text :  AT(ADDR(.text) - LOAD_OFFSET) {
                _text = .;
+               _stext = .;
                /* bootstrapping code */
                HEAD_TEXT
                . = ALIGN(8);
-               _stext = .;
                TEXT_TEXT
                SCHED_TEXT
                CPUIDLE_TEXT