]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - csu/init.c
C-SKY: remove user_regs definition
[thirdparty/glibc.git] / csu / init.c
index 178063b44bf890ec5d182cc3c5b2f2512adc458d..c7a6da07d0ae71138f44f92a020e4d76858169da 100644 (file)
@@ -1,5 +1,5 @@
 /* Special startup support.
-   Copyright (C) 1997-2018 Free Software Foundation, Inc.
+   Copyright (C) 1997-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#if defined __GNUC__ && __GNUC__ >= 2
-
-#include <stdio.h>
-
-/* This records which stdio is linked against in the application. */
-const int _IO_stdin_used = _G_IO_IO_FILE_VERSION;
-
-#endif
+/* Vestigial libio version number.  Some code in libio checks whether
+   this symbol exists in the executable, but nothing looks at its
+   value anymore; the value it was historically set to has been
+   preserved out of an abundance of caution.  */
+const int _IO_stdin_used = 0x20001;