Skip to content

Commit

Permalink
Merge pull request #7 from stffrdhrn/openrisc
Browse files Browse the repository at this point in the history
openrisc: Add _text symbol to fix ksym build error
  • Loading branch information
stffrdhrn authored Jan 9, 2017
2 parents acba10e + 30c4f08 commit d2ea1a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/openrisc/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ SECTIONS
/* Read-only sections, merged into text segment: */
. = LOAD_BASE ;

_text = .;

/* _s_kernel_ro must be page aligned */
. = ALIGN(PAGE_SIZE);
_s_kernel_ro = .;
Expand Down

0 comments on commit d2ea1a2

Please sign in to comment.