about summary refs log tree commit diff
path: root/misc/sstk.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-04-28 12:10:32 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-04-28 17:13:25 +0200
commit6d246cb852d3c5ab721dc583112a59ac47dc374e (patch)
treec466fe2ade06869f69aa553649586422cf5f9233 /misc/sstk.c
parentdbb188dd87ffdbf0ca3d9cd118ad4176439fb294 (diff)
downloadglibc-6d246cb852d3c5ab721dc583112a59ac47dc374e.tar.gz
glibc-6d246cb852d3c5ab721dc583112a59ac47dc374e.tar.xz
glibc-6d246cb852d3c5ab721dc583112a59ac47dc374e.zip
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 9cc93ba0973ad04ee26c515a1552afb85e73c6ba
("misc: Turn sstk into a compat symbol").
Diffstat (limited to 'misc/sstk.c')
-rw-r--r--misc/sstk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/sstk.c b/misc/sstk.c
index 0a2a967917..dda6f7b426 100644
--- a/misc/sstk.c
+++ b/misc/sstk.c
@@ -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);