diff options
author | Greg Ungerer <gerg@uclinux.org> | 2011-02-08 14:45:59 +1000 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2011-02-16 09:43:17 +1000 |
commit | 81174262e2e653e15c7ef23efa5f88fe31e91e2a (patch) | |
tree | 24895d914bc8f43a9ac9c7c3365967745174970e | |
parent | b14769d94f697b118d960d7f73eb60ff7fa59af0 (diff) |
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>
-rw-r--r-- | arch/m68knommu/kernel/vmlinux.lds.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/m68knommu/kernel/vmlinux.lds.S b/arch/m68knommu/kernel/vmlinux.lds.S index ef332136f96..47e15ebfd89 100644 --- a/arch/m68knommu/kernel/vmlinux.lds.S +++ b/arch/m68knommu/kernel/vmlinux.lds.S @@ -141,6 +141,12 @@ SECTIONS { *(__param) __stop___param = .; + /* Built-in module versions */ + . = ALIGN(4) ; + __start___modver = .; + *(__modver) + __stop___modver = .; + . = ALIGN(4) ; _etext = . ; } > TEXT |