[Ada] Craft .ctors/.dtors sections manually for VxWorks EH registration
authorOlivier Hainque <hainque@adacore.com>
Wed, 30 May 2018 08:57:50 +0000 (08:57 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Wed, 30 May 2018 08:57:50 +0000 (08:57 +0000)
commit5e648d3021c10f8bc1fcc3404dcd5ede6cdc32f9
treed88c603d13e454f7b08e2976b8c9767ff5f92fa0
parent812e6118dcab9e0b0e717c44a987ce65ec7c13ec
[Ada] Craft .ctors/.dtors sections manually for VxWorks EH registration

Temporary change for experimental purposes. Further cleanups will
be needed if this sheme works as we hope.

2018-05-30  Olivier Hainque  <hainque@adacore.com>

gcc/ada/

* vx_crtbegin_attr.c (CTOR_ATTRIBUTE, DTOR_ATTRIBUTE): Empty.
(eh_registration_ctors, eh_registration_tors): New static variables,
forced in a .ctors/.dtors section, respectively, with priority.

From-SVN: r260938
gcc/ada/ChangeLog
gcc/ada/vx_crtbegin_attr.c