-
Bug
-
Resolution: Fixed
-
Medium
-
Code Generation Tools
-
CODEGEN-8899
-
ARMCLANG_1.3.0.BETA1
-
ARMCLANG_1.3.0.LTS
-
default
Compiling and linking a simple C++ "Hello World" program such as the following:
#include <iostream>
using namespace std;
int main()
{ cout << "Hello World\n"; return 0; }will cause the linker to generate an auto-initialization record for the compiler-generated .init_array section that is larger than the actual .init_array section.
If possible, the linker should avoid generating an auto-initialization record for the .init_array section when it is inefficient to do so.