]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Make Interrupt and Attach Handlers Obsolescent in VXWorks
authorViljar Indus <indus@adacore.com>
Wed, 18 Sep 2024 07:14:09 +0000 (10:14 +0300)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Tue, 12 Nov 2024 13:00:53 +0000 (14:00 +0100)
commitd1a199adb9b263f5b76daa4e8a5b32ac272c9cfe
tree77d5e63b270e73fb90255f7a4f669220d5890d4a
parent1aebc8bfdbe0d2e62e94943356d99174b525f1cb
ada: Make Interrupt and Attach Handlers Obsolescent in VXWorks

In order to trigger an obsolescent feature warning in
VXWorks if either the pragma or aspect of Interrupt_Handler
or Attach_Handler is used, the spec of the Register_Interrupt_Handler
method needs to be marked as obsolescent in a VXWorks specific
version of the file.

gcc/ada/ChangeLog:

* libgnarl/s-interr__vxworks.ads (new): A VXWorks specific
version of the file where Register_Interrupt_Handler is marked
with the Obsolescent pragma.
* libgnarl/s-interr__vxworks.adb: Remove pragma Obsoloescent
that had no effect.
* Makefile.rtl: Add entries for using the
libgnarl/s-interr__vxworks.ads file.
gcc/ada/Makefile.rtl
gcc/ada/libgnarl/s-interr__vxworks.adb
gcc/ada/libgnarl/s-interr__vxworks.ads [new file with mode: 0644]