Skip to content

Commit

Permalink
MN10300: Add missing _sdata declaration
Browse files Browse the repository at this point in the history
_sdata needs to be declared in the linker script now as of commit
a2d063a ("extable, core_kernel_data(): Make sure all archs define
_sdata")

Signed-off-by: David Howells <[email protected]>
Cc: Steven Rostedt <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
dhowells authored and torvalds committed Jun 8, 2011
1 parent db1c9df commit 4018237
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/mn10300/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ SECTIONS
RO_DATA(PAGE_SIZE)

/* writeable */
_sdata = .; /* Start of rw data section */
RW_DATA_SECTION(32, PAGE_SIZE, THREAD_SIZE)
_edata = .;

Expand Down

0 comments on commit 4018237

Please sign in to comment.