Skip to content

Commit

Permalink
CRIS: Add _sdata to vmlinux.lds.S
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jniax authored and Jesper Nilsson committed Apr 3, 2012
1 parent 74f077d commit 473e162
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/cris/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ SECTIONS

EXCEPTION_TABLE(4)

_sdata = .;
RODATA

. = ALIGN (4);
Expand Down

0 comments on commit 473e162

Please sign in to comment.