summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-04-09 09:14:35 +0200
committerDavid S. Miller <davem@davemloft.net>2010-04-13 08:46:17 +0200
commit8b8d8e2840a440d62e8dc0ef36ba433b26f70d32 (patch)
tree5f093522c03c3120b6d5bccb5c1a2697ef64a899 /arch/sparc/kernel/vmlinux.lds.S
parentsparc64: Add function graph tracer support. (diff)
downloadlinux-8b8d8e2840a440d62e8dc0ef36ba433b26f70d32.tar.xz
linux-8b8d8e2840a440d62e8dc0ef36ba433b26f70d32.zip
sparc64: Support kmemleak.
Only missing thing was an _sdata marker in vmlinux.lds.S Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/vmlinux.lds.S')
-rw-r--r--arch/sparc/kernel/vmlinux.lds.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sparc/kernel/vmlinux.lds.S b/arch/sparc/kernel/vmlinux.lds.S
index c4f5758c9dc7..0c1e6783657f 100644
--- a/arch/sparc/kernel/vmlinux.lds.S
+++ b/arch/sparc/kernel/vmlinux.lds.S
@@ -52,6 +52,10 @@ SECTIONS
_etext = .;
RO_DATA(PAGE_SIZE)
+
+ /* Start of data section */
+ _sdata = .;
+
.data1 : {
*(.data1)
}