OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
704439d
)
x86-32: move _end to a dummy section
author
H. Peter Anvin
<hpa@linux.intel.com>
Tue, 17 Mar 2009 21:14:31 +0000
(14:14 -0700)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Tue, 17 Mar 2009 21:16:02 +0000
(14:16 -0700)
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>
arch/x86/kernel/vmlinux_32.lds.S
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/vmlinux_32.lds.S
b/arch/x86/kernel/vmlinux_32.lds.S
index
de14973
..
62ad500
100644
(file)
--- a/
arch/x86/kernel/vmlinux_32.lds.S
+++ b/
arch/x86/kernel/vmlinux_32.lds.S
@@
-199,7
+199,9
@@
SECTIONS
__brk_limit = . ;
}
- _end = . ;
+ .end : AT(ADDR(.end) - LOAD_OFFSET) {
+ _end = . ;
+ }
/* Sections to be discarded */
/DISCARD/ : {