misc: Remove sstk from the autogenerated system call list

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 9cc93ba097
("misc: Turn sstk into a compat symbol").
This commit is contained in:
Florian Weimer 2020-04-28 12:10:32 +02:00
parent dbb188dd87
commit 6d246cb852
3 changed files with 5 additions and 2 deletions

4
NEWS
View File

@ -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 but always fails with ENOSYS. This reflects the removal of the system
call from all architectures, starting with Linux 5.5. 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: Changes to build and runtime requirements:
[Add changes to build and runtime requirements here] [Add changes to build and runtime requirements here]

View File

@ -19,7 +19,7 @@
#include <shlib-compat.h> #include <shlib-compat.h>
#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_32) #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_32)
void * void * attribute_compat_text_section
sstk (int increment) sstk (int increment)
{ {
__set_errno (ENOSYS); __set_errno (ENOSYS);

View File

@ -78,7 +78,6 @@ sigaction - sigaction i:ipp __sigaction sigaction
sigsuspend - sigsuspend Ci:p sigsuspend sigsuspend - sigsuspend Ci:p sigsuspend
socket - socket i:iii __socket socket socket - socket i:iii __socket socket
socketpair - socketpair i:iiif socketpair socketpair - socketpair i:iiif socketpair
sstk - sstk b:i sstk
statfs - statfs i:sp __statfs statfs statfs - statfs i:sp __statfs statfs
swapoff - swapoff i:s swapoff swapoff - swapoff i:s swapoff
swapon - swapon i:s swapon swapon - swapon i:s swapon