mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
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:
parent
dbb188dd87
commit
6d246cb852
4
NEWS
4
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]
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user