[Bug target/110709] how to handle the initialization of global struct data for position independent executable application.

2023-07-18 Thread wangwen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110709 --- Comment #8 from wangwen at microsoft dot com --- I posted it in the wrong place, please just delete it. thank you.

[Bug target/110709] how to handle the initialization of global struct data for position independent executable application.

2023-07-18 Thread wangwen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110709 --- Comment #6 from wangwen at microsoft dot com --- would anyone guide me any place to ask such question?

[Bug target/110709] how to handle the initialization of global struct data for position independent executable application.

2023-07-17 Thread wangwen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110709 --- Comment #3 from wangwen at microsoft dot com --- when the global pointer variety has an initialized value which is not NULL, then the value should be an address, so the initialized value should be recalculated when dynamically loaded. Now th

[Bug c/110709] New: how to handle the initialization of global struct data for position independent executable application.

2023-07-17 Thread wangwen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110709 Bug ID: 110709 Summary: how to handle the initialization of global struct data for position independent executable application. Product: gcc Version: 12.1.0 Status: UNCO