elflink: Delete obsolete constructor code
authorMatt Fleming <matt.fleming@intel.com>
Tue, 3 Apr 2012 15:07:09 +0000 (16:07 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 17 Apr 2012 10:23:41 +0000 (11:23 +0100)
commit93de366630a82496c6afeda1b1a68b83264987f6
tree4593f2423cf5006001f1601b6104e21fb8791eeb
parent47a926bb39867b106527b2993faffcb524e87ad6
elflink: Delete obsolete constructor code

Since commit 8e0ed96bff75 ("elf: Support __constructor and
__destructor") the code for looping over ctors in ldlinux has been
unnecessary. Delete since this is all now handled in the core module
loading code.

This also gets rid of the following build warning,

elflink/load_env32.c: At top level:
elflink/load_env32.c:28:15: warning: array ‘__ctors_start’ assumed to have one element
elflink/load_env32.c:28:32: warning: array ‘__ctors_end’ assumed to have one element

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
core/elflink/load_env32.c