llvm-project/lld/lib
Adhemerval Zanella 3ebea27d66 [ELF] Fix .init_array initialization
Some compilers may not add the section symbol in '.symtab' for the
.init_array and 'ldd' just ignore it.  It results in global constructor
not being called in final executable.

This patch add both '.init_array' and '.fini_array' to be added in
Atom graph generation even when the section contains no symbol.  An
already existing testcase is modified to check for such scenario.

The issue fixes the llvm test-suite regressions for both Single
and MultiSource files.

llvm-svn: 240570
2015-06-24 19:26:00 +00:00
..
Config Remove Makefiles. 2015-03-26 20:09:47 +00:00
Core [LinkerScript] Add matching of output sections to segments 2015-06-15 08:00:51 +00:00
Driver Add missing dependencies for the CMake shared lld build. 2015-06-23 19:54:57 +00:00
ReaderWriter [ELF] Fix .init_array initialization 2015-06-24 19:26:00 +00:00
CMakeLists.txt Remove YAML/Native round-trip passes. 2015-02-20 22:10:28 +00:00