]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Add System definitions of SIGSYS for Android
authorOlivier Hainque <hainque@adacore.com>
Mon, 26 Aug 2024 15:49:12 +0000 (17:49 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Tue, 8 Oct 2024 08:37:11 +0000 (10:37 +0200)
This allows reusing a-intnam__linux.ads for Android.

gcc/ada/ChangeLog:

* libgnarl/s-linux__android-arm.ads: Define SIGSYS.
* libgnarl/s-linux__android-aarch64.ads: Define SIGSYS.
* libgnarl/s-osinte__android.ads: Expose SIGSYS value.

gcc/ada/libgnarl/s-linux__android-aarch64.ads
gcc/ada/libgnarl/s-linux__android-arm.ads
gcc/ada/libgnarl/s-osinte__android.ads

index 6c64626c29414da660e5f9bcc78a18af3cc44252..4e462f2709c7cfe80c595d56d5791086fd7e190e 100644 (file)
@@ -111,6 +111,7 @@ package System.Linux is
    SIGPROF    : constant := 27; --  profiling timer expired
    SIGXCPU    : constant := 24; --  CPU time limit exceeded
    SIGXFSZ    : constant := 25; --  filesize limit exceeded
+   SIGSYS     : constant := 31; --  bad argument to system call
    SIGUNUSED  : constant := 31; --  unused signal (GNU/Linux)
    SIGSTKFLT  : constant := 16; --  coprocessor stack fault (Linux)
    SIG32      : constant := 32; --  glibc internal signal
index ff369d50f83c76127789f9334e7dae39bd7a3e1d..1a21f78ffd8c23ebd5482d9bd825e2a310be4476 100644 (file)
@@ -111,6 +111,7 @@ package System.Linux is
    SIGPROF    : constant := 27; --  profiling timer expired
    SIGXCPU    : constant := 24; --  CPU time limit exceeded
    SIGXFSZ    : constant := 25; --  filesize limit exceeded
+   SIGSYS     : constant := 31; --  bad argument to system call
    SIGUNUSED  : constant := 31; --  unused signal (GNU/Linux)
    SIGSTKFLT  : constant := 16; --  coprocessor stack fault (Linux)
    SIG32      : constant := 32; --  glibc internal signal
index 62389061fec5aec90ce7e1f5926ae6c14804a7ee..ee8319890c733bcc2d1026da0cc83054dac7cb79 100644 (file)
@@ -116,6 +116,7 @@ package System.OS_Interface is
    SIGPROF    : constant := System.Linux.SIGPROF;
    SIGXCPU    : constant := System.Linux.SIGXCPU;
    SIGXFSZ    : constant := System.Linux.SIGXFSZ;
+   SIGSYS     : constant := System.Linux.SIGSYS;
    SIGUNUSED  : constant := System.Linux.SIGUNUSED;
    SIGSTKFLT  : constant := System.Linux.SIGSTKFLT;