Skip to content

Commit

Permalink
score: normalize global variables exported by vmlinux.lds
Browse files Browse the repository at this point in the history
Generate mandatory global variables _sdata in file vmlinux.lds.

Signed-off-by: Jiang Liu <[email protected]>
Cc: Chen Liqin <[email protected]>
Cc: Lennox Wu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
jiangliu authored and torvalds committed Jul 3, 2013
1 parent 5dd7cd1 commit ae49b83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/score/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ SECTIONS
}

. = ALIGN(16);
_sdata = .; /* Start of data section */
RODATA

EXCEPTION_TABLE(16)
Expand Down

0 comments on commit ae49b83

Please sign in to comment.