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] | |
Tested on i686-linux, committed on mainline. Instead of automatically initializing dynamic Stand-Alone Libraries through the init/fini mechanism, it is better to use the constructor mechanism, which is more integrated with the the exception mechanism of gcc. The new gnatbind switch -a is used for those platforms that support this mechanism. 2005-07-04 Vincent Celier <celier@adacore.com> * mlib-prj.adb (Auto_Initialize): New constant String (SALs_Use_Constructors): New Boolean function (Build_Library): Call gnatbind with Auto_Initialize switch when SALs_Use_Constructors returns True. * mlib-tgt.ads: Minor reformatting * mlib-utl.ads: Minor reformatting * opt.ads: (Use_Pragma_Linker_Constructor): New Boolean flag
Attachment:
difs.12
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |