aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/vmlinux_32.lds.S
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2009-03-17 17:14:31 -0400
committerH. Peter Anvin <hpa@linux.intel.com>2009-03-17 17:16:02 -0400
commit0a699af8e613a670be50245366fa18cb19ac5172 (patch)
tree8f1f0e2b815f16215bc281380b026c3352288f0b /arch/x86/kernel/vmlinux_32.lds.S
parent704439ddf9f8ff1fc8c6d8abaac4bc4c95697e39 (diff)
x86-32: move _end to a dummy section
Impact: build fix with CONFIG_RELOCATABLE Move _end into a dummy section, so that relocs.c will know it is a relocatable symbol. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Diffstat (limited to 'arch/x86/kernel/vmlinux_32.lds.S')
-rw-r--r--arch/x86/kernel/vmlinux_32.lds.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kernel/vmlinux_32.lds.S b/arch/x86/kernel/vmlinux_32.lds.S
index de14973e47fd..62ad500d55f3 100644
--- a/arch/x86/kernel/vmlinux_32.lds.S
+++ b/arch/x86/kernel/vmlinux_32.lds.S
@@ -199,7 +199,9 @@ SECTIONS
199 __brk_limit = . ; 199 __brk_limit = . ;
200 } 200 }
201 201
202 _end = . ; 202 .end : AT(ADDR(.end) - LOAD_OFFSET) {
203 _end = . ;
204 }
203 205
204 /* Sections to be discarded */ 206 /* Sections to be discarded */
205 /DISCARD/ : { 207 /DISCARD/ : {