diff options
-rw-r--r-- | arch/arm/kernel/vmlinux.lds.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S index fd5750b8ac84..065d35de0e01 100644 --- a/arch/arm/kernel/vmlinux.lds.S +++ b/arch/arm/kernel/vmlinux.lds.S | |||
@@ -109,8 +109,6 @@ SECTIONS | |||
109 | 109 | ||
110 | RO_DATA(PAGE_SIZE) | 110 | RO_DATA(PAGE_SIZE) |
111 | 111 | ||
112 | _etext = .; /* End of text and rodata section */ | ||
113 | |||
114 | #ifdef CONFIG_ARM_UNWIND | 112 | #ifdef CONFIG_ARM_UNWIND |
115 | /* | 113 | /* |
116 | * Stack unwinding tables | 114 | * Stack unwinding tables |
@@ -128,6 +126,8 @@ SECTIONS | |||
128 | } | 126 | } |
129 | #endif | 127 | #endif |
130 | 128 | ||
129 | _etext = .; /* End of text and rodata section */ | ||
130 | |||
131 | #ifdef CONFIG_XIP_KERNEL | 131 | #ifdef CONFIG_XIP_KERNEL |
132 | __data_loc = ALIGN(4); /* location in binary */ | 132 | __data_loc = ALIGN(4); /* location in binary */ |
133 | . = PAGE_OFFSET + TEXT_OFFSET; | 133 | . = PAGE_OFFSET + TEXT_OFFSET; |