Commit 81174262e2e653e15c7ef23efa5f88fe31e91e2a

Authored by Greg Ungerer
1 parent b14769d94f

m68knommu: add missing linker __modver section

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>

Showing 1 changed file with 6 additions and 0 deletions Side-by-side Diff

arch/m68knommu/kernel/vmlinux.lds.S
... ... @@ -141,6 +141,12 @@
141 141 *(__param)
142 142 __stop___param = .;
143 143  
  144 + /* Built-in module versions */
  145 + . = ALIGN(4) ;
  146 + __start___modver = .;
  147 + *(__modver)
  148 + __stop___modver = .;
  149 +
144 150 . = ALIGN(4) ;
145 151 _etext = . ;
146 152 } > TEXT