Skip to content

Commit

Permalink
m68knommu: add missing linker __modver section
Browse files Browse the repository at this point in the history
Add missing linker section __modver to fix:

  LD      vmlinux
/usr/local/bin/../m68k-uclinux/bin/ld.real: error: no memory region specified for loadable section `__modver'

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
  • Loading branch information
Greg Ungerer committed Feb 15, 2011
1 parent b14769d commit 8117426
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/m68knommu/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ SECTIONS {
*(__param)
__stop___param = .;

/* Built-in module versions */
. = ALIGN(4) ;
__start___modver = .;
*(__modver)
__stop___modver = .;

. = ALIGN(4) ;
_etext = . ;
} > TEXT
Expand Down

0 comments on commit 8117426

Please sign in to comment.