This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Wrong code generated. The issue was that the elaboration code for the initialization of library-level data put pointers to the stack of the elaboration routine into the library-level data, which is always wrong.
The reason it did so was that it didn't treat a CONSTRUCTOR as static. However, if you're looking for a constant address, giving the address of a static CONSTRUCTOR is best.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |