aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/ldlinux/cli.c
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-11-01 09:50:46 +0000
committerMatt Fleming <matt.fleming@intel.com>2012-11-02 14:06:20 +0000
commite55d4988880a538fa81fe6bb2bf4fd5604174f06 (patch)
tree152cf191dc78eaffaf6a45db8dc5fb00b3300843 /com32/elflink/ldlinux/cli.c
parent7cb503fd746b80c8613a3e76dde93aedb6e75830 (diff)
downloadsyslinux-e55d4988880a538fa81fe6bb2bf4fd5604174f06.tar.gz
syslinux-e55d4988880a538fa81fe6bb2bf4fd5604174f06.tar.xz
syslinux-e55d4988880a538fa81fe6bb2bf4fd5604174f06.zip
com32: Include .init_array section in .ctors in linker script
GCC 4.7 now places pointers to functions with the 'constructor' and 'destructor' function attributes in .init_array and .fini_array sections, respectively, whereas previously they were in the .ctors and .dtors sections. This change breaks the ctors/dtors code as it only expects function to be in the .ctors and .dtors sections, meaning the ctors and dtors functions are never executed. While a COM32_INIT() macro exists that places functions in the .init_array section, no function makes use of it, so there should be no fallout from this change. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/elflink/ldlinux/cli.c')
0 files changed, 0 insertions, 0 deletions