module: Define __{ctors,dtors}_end symbols
authorChandramouli Narayanan <chandramouli.narayanan@intel.com>
Wed, 22 Aug 2012 10:37:50 +0000 (11:37 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Wed, 22 Aug 2012 10:42:19 +0000 (11:42 +0100)
commit48b044fc7fc2c0ebb53c3963e9dc75629ae30414
treeec5b75f2c3269ae91bcb469600648acb95935633
parenta98721fcd284bfc73bf5b5c422760817f0ba8bb2
module: Define __{ctors,dtors}_end symbols

This patch fixes linker script for module initialization.  The old
__module_*_ptr symbols are no longer used, instead we now have an
array of constructors and destructors.

Signed-off-by: Chandramouli Narayanan <chandramouli.narayanan@intel.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/lib/i386/elf.ld
com32/lib/sys/module/common.c
com32/lib/sys/module/elf_module.c
com32/lib/x86_64/elf.ld