]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
misc: Remove sstk from the autogenerated system call list
authorFlorian Weimer <fweimer@redhat.com>
Tue, 28 Apr 2020 10:10:32 +0000 (12:10 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 28 Apr 2020 15:13:25 +0000 (17:13 +0200)
This change should not have an effect because the system call was
never defined.  Also add the misssing attribute_compat_text_section
attribute to the sstk function (a minor optimization).  Also update the
NEWS file to document the change.

Fixes commit 9cc93ba0973ad04ee26c515a1552afb85e73c6ba
("misc: Turn sstk into a compat symbol").

NEWS
misc/sstk.c
sysdeps/unix/syscalls.list

diff --git a/NEWS b/NEWS
index 0e627b34057df8782f31cfa49081fd1dd6bdbba9..f58436c91a98b936c25083c2c31a8fab8bef4f95 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -26,6 +26,10 @@ Deprecated and removed features, and other changes affecting compatibility:
   but always fails with ENOSYS.  This reflects the removal of the system
   call from all architectures, starting with Linux 5.5.
 
+* The sstk function is no longer available to newly linked binaries.
+  Its implementation always returned with a failure, and the function
+  was not declared in any header file.
+
 Changes to build and runtime requirements:
 
   [Add changes to build and runtime requirements here]
index 0a2a967917a2852fb50bc30185f266da400731d7..dda6f7b4267c7d22c6b2d9ce7d3cbb0a696b816c 100644 (file)
@@ -19,7 +19,7 @@
 #include <shlib-compat.h>
 
 #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_32)
-void *
+void * attribute_compat_text_section
 sstk (int increment)
 {
   __set_errno (ENOSYS);
index 01c4a0e6b1d91653da55e6bd8a72bc0dd7072f87..e8f8718b04e4b9996fab747703741d9257c0ba6b 100644 (file)
@@ -78,7 +78,6 @@ sigaction     -       sigaction       i:ipp   __sigaction     sigaction
 sigsuspend     -       sigsuspend      Ci:p    sigsuspend
 socket         -       socket          i:iii   __socket        socket
 socketpair     -       socketpair      i:iiif  socketpair
-sstk           -       sstk            b:i     sstk
 statfs         -       statfs          i:sp    __statfs        statfs
 swapoff                -       swapoff         i:s     swapoff
 swapon         -       swapon          i:s     swapon