Messages in this thread Patch in this message | | | Subject | [PATCH 2.6.28-rc5 05/11] kmemleak: Add support for i386 | From | Catalin Marinas <> | Date | Thu, 20 Nov 2008 11:30:56 +0000 |
| |
This patch adds the kmemleak-related entries to the vmlinux.lds.S linker script.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> --- arch/x86/kernel/vmlinux_32.lds.S | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/vmlinux_32.lds.S b/arch/x86/kernel/vmlinux_32.lds.S index a9b8560..b5d2b49 100644 --- a/arch/x86/kernel/vmlinux_32.lds.S +++ b/arch/x86/kernel/vmlinux_32.lds.S @@ -62,6 +62,7 @@ SECTIONS /* writeable */ . = ALIGN(PAGE_SIZE); + _sdata = .; /* Start of data section */ .data : AT(ADDR(.data) - LOAD_OFFSET) { /* Data */ DATA_DATA CONSTRUCTORS
| |