public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: Provide _sdata in the vmlinux.lds.S file
@ 2009-05-11 12:22 Catalin Marinas
  2009-05-11 12:30 ` [tip:x86/kbuild] " tip-bot for Catalin Marinas
  2009-06-12  7:31 ` [tip:x86/urgent] " tip-bot for Catalin Marinas
  0 siblings, 2 replies; 3+ messages in thread
From: Catalin Marinas @ 2009-05-11 12:22 UTC (permalink / raw)
  To: linux-kernel; +Cc: Ingo Molnar, x86

_sdata is a common symbol defined by many architectures and made
available to the kernel via asm-generic/sections.h. Kmemleak uses this
symbol when scanning the data sections.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Ingo Molnar <mingo@elte.hu>
---

(This patch is against the tip/master branch)

 arch/x86/kernel/vmlinux.lds.S |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S
index 4c85b2e..367e878 100644
--- a/arch/x86/kernel/vmlinux.lds.S
+++ b/arch/x86/kernel/vmlinux.lds.S
@@ -108,6 +108,8 @@ SECTIONS
 	/* Data */
 	. = ALIGN(PAGE_SIZE);
 	.data : AT(ADDR(.data) - LOAD_OFFSET) {
+		/* Start of data section */
+		_sdata = .;
 		DATA_DATA
 		CONSTRUCTORS
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [tip:x86/kbuild] x86: Provide _sdata in the vmlinux.lds.S file
  2009-05-11 12:22 [PATCH] x86: Provide _sdata in the vmlinux.lds.S file Catalin Marinas
@ 2009-05-11 12:30 ` tip-bot for Catalin Marinas
  2009-06-12  7:31 ` [tip:x86/urgent] " tip-bot for Catalin Marinas
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Catalin Marinas @ 2009-05-11 12:30 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, catalin.marinas, tglx, mingo

Commit-ID:  4504c6d020fc5aec7659bf7746e71b1b904571f8
Gitweb:     http://git.kernel.org/tip/4504c6d020fc5aec7659bf7746e71b1b904571f8
Author:     Catalin Marinas <catalin.marinas@arm.com>
AuthorDate: Mon, 11 May 2009 13:22:00 +0100
Committer:  Ingo Molnar <mingo@elte.hu>
CommitDate: Mon, 11 May 2009 14:28:55 +0200

x86: Provide _sdata in the vmlinux.lds.S file

_sdata is a common symbol defined by many architectures and made
available to the kernel via asm-generic/sections.h. Kmemleak uses this
symbol when scanning the data sections.

[ Impact: add new global symbol ]

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
LKML-Reference: <20090511122105.26556.96593.stgit@pc1117.cambridge.arm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>


---
 arch/x86/kernel/vmlinux.lds.S |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S
index 4c85b2e..367e878 100644
--- a/arch/x86/kernel/vmlinux.lds.S
+++ b/arch/x86/kernel/vmlinux.lds.S
@@ -108,6 +108,8 @@ SECTIONS
 	/* Data */
 	. = ALIGN(PAGE_SIZE);
 	.data : AT(ADDR(.data) - LOAD_OFFSET) {
+		/* Start of data section */
+		_sdata = .;
 		DATA_DATA
 		CONSTRUCTORS
 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [tip:x86/urgent] x86: Provide _sdata in the vmlinux.lds.S file
  2009-05-11 12:22 [PATCH] x86: Provide _sdata in the vmlinux.lds.S file Catalin Marinas
  2009-05-11 12:30 ` [tip:x86/kbuild] " tip-bot for Catalin Marinas
@ 2009-06-12  7:31 ` tip-bot for Catalin Marinas
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Catalin Marinas @ 2009-06-12  7:31 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, catalin.marinas, tglx, mingo

Commit-ID:  1260866a271abc84274345580f3d613d3bceff87
Gitweb:     http://git.kernel.org/tip/1260866a271abc84274345580f3d613d3bceff87
Author:     Catalin Marinas <catalin.marinas@arm.com>
AuthorDate: Mon, 11 May 2009 13:22:00 +0100
Committer:  Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 12 Jun 2009 09:21:33 +0200

x86: Provide _sdata in the vmlinux.lds.S file

_sdata is a common symbol defined by many architectures and made
available to the kernel via asm-generic/sections.h. Kmemleak uses this
symbol when scanning the data sections.

[ Impact: add new global symbol ]

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
LKML-Reference: <20090511122105.26556.96593.stgit@pc1117.cambridge.arm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>


---
 arch/x86/kernel/vmlinux.lds.S |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S
index 4c85b2e..367e878 100644
--- a/arch/x86/kernel/vmlinux.lds.S
+++ b/arch/x86/kernel/vmlinux.lds.S
@@ -108,6 +108,8 @@ SECTIONS
 	/* Data */
 	. = ALIGN(PAGE_SIZE);
 	.data : AT(ADDR(.data) - LOAD_OFFSET) {
+		/* Start of data section */
+		_sdata = .;
 		DATA_DATA
 		CONSTRUCTORS
 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-06-12  7:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-11 12:22 [PATCH] x86: Provide _sdata in the vmlinux.lds.S file Catalin Marinas
2009-05-11 12:30 ` [tip:x86/kbuild] " tip-bot for Catalin Marinas
2009-06-12  7:31 ` [tip:x86/urgent] " tip-bot for Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox