ldlinux: Remove __constructor attribute
authorMatt Fleming <matt.fleming@linux.intel.com>
Wed, 25 May 2011 07:45:37 +0000 (08:45 +0100)
committerMatt Fleming <matt.fleming@linux.intel.com>
Wed, 25 May 2011 07:45:37 +0000 (08:45 +0100)
commit487b67a9ce9f6b338a28d4ab71a7ee313ba35762
tree1083f8c0ba857260b18b5fccbe7a48f910bc18f2
parent565952b9d86d769471d500caab5ebba9bc36c363
ldlinux: Remove __constructor attribute

The __constructor tag only makes sense in the core as the constructor
functions are executed from load_env32(), before any modules have been
loaded. Therefore, applying __constructor to code inside ldlinux is
pointless as unless the functions are called explicitly, they will
never be executed.

Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
com32/elflink/ldlinux/adv.c
com32/elflink/ldlinux/ipappend.c