From c607e1d4bab89e8254597d1cdffcd5812478784f Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 15 Aug 2013 18:17:30 -0700 Subject: [PATCH] 3.0-stable patches added patches: cris-add-_sdata-to-vmlinux.lds.s.patch --- .../cris-add-_sdata-to-vmlinux.lds.s.patch | 33 +++++++++++++++++++ queue-3.0/series | 1 + 2 files changed, 34 insertions(+) create mode 100644 queue-3.0/cris-add-_sdata-to-vmlinux.lds.s.patch diff --git a/queue-3.0/cris-add-_sdata-to-vmlinux.lds.s.patch b/queue-3.0/cris-add-_sdata-to-vmlinux.lds.s.patch new file mode 100644 index 00000000000..2832a083c2e --- /dev/null +++ b/queue-3.0/cris-add-_sdata-to-vmlinux.lds.s.patch @@ -0,0 +1,33 @@ +From 473e162eea465e60578edb93341752e7f1c1dacc Mon Sep 17 00:00:00 2001 +From: Jesper Nilsson +Date: Mon, 24 Oct 2011 11:19:25 +0200 +Subject: CRIS: Add _sdata to vmlinux.lds.S + +From: Jesper Nilsson + +commit 473e162eea465e60578edb93341752e7f1c1dacc upstream. + +Fixes link error: + LD vmlinux +kernel/built-in.o: In function `core_kernel_data': +(.text+0x13e44): undefined reference to `_sdata' + +Signed-off-by: Jesper Nilsson +Cc: Guenter Roeck +Cc: Geert Uytterhoeven +Signed-off-by: Greg Kroah-Hartman + +--- + arch/cris/kernel/vmlinux.lds.S | 1 + + 1 file changed, 1 insertion(+) + +--- a/arch/cris/kernel/vmlinux.lds.S ++++ b/arch/cris/kernel/vmlinux.lds.S +@@ -52,6 +52,7 @@ SECTIONS + + EXCEPTION_TABLE(4) + ++ _sdata = .; + RODATA + + . = ALIGN (4); diff --git a/queue-3.0/series b/queue-3.0/series index 3f64cac9b65..b6f5ada5009 100644 --- a/queue-3.0/series +++ b/queue-3.0/series @@ -1 +1,2 @@ futex-take-hugepages-into-account-when-generating-futex_key.patch +cris-add-_sdata-to-vmlinux.lds.s.patch -- 2.47.3